Parcourir la source

Moving around screenlayouts and fish shortcuts

Colin Powell il y a 5 ans
Parent
commit
e67ef2ff4d

+ 3 - 0
fish/.config/fish/functions/keybg.fish

@@ -0,0 +1,3 @@
+function keybg
+	~/.screenlayout/keyboard-and-bg.sh
+end

+ 3 - 0
fish/.config/fish/functions/th2.fish

@@ -0,0 +1,3 @@
+function th2
+	~/.screenlayout/titan-two-horiz.sh
+end

+ 3 - 0
screenlayout/.screenlayout/keyboard-and-bg.sh

@@ -0,0 +1,3 @@
+#!/bin/bash
+feh --bg-scale ~/var/inbox/ng_photos/`ls -Art ~/var/inbox/ng_photos | tail -n 1`
+setxkbmap -option caps:escape &

+ 3 - 0
screenlayout/.screenlayout/titan-two-horiz.sh

@@ -0,0 +1,3 @@
+#!/bin/sh
+xrandr --output HDMI-2 --off --output HDMI-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output DP-1 --off --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-2 --off
+setxkbmap -option caps:escape &

+ 1 - 1
screenlayout/.screenlayout/titan-two.sh

@@ -1,3 +1,3 @@
 #!/bin/sh
 xrandr --output HDMI-2 --off --output HDMI-1 --mode 1920x1080 --pos 1920x0 --rotate left --output DP-1 --off --output eDP-1 --primary --mode 1920x1080 --pos 0x360 --rotate normal --output DP-2 --off
-setxkbmap -option caps:escape &
+~/.screenlayout/keyboard-and-bg.sh