diff --git a/fish/.config/fish/functions/keybg.fish b/fish/.config/fish/functions/keybg.fish new file mode 100644 index 0000000..e7bc59d --- /dev/null +++ b/fish/.config/fish/functions/keybg.fish @@ -0,0 +1,3 @@ +function keybg + ~/.screenlayout/keyboard-and-bg.sh +end diff --git a/fish/.config/fish/functions/th2.fish b/fish/.config/fish/functions/th2.fish new file mode 100644 index 0000000..d392015 --- /dev/null +++ b/fish/.config/fish/functions/th2.fish @@ -0,0 +1,3 @@ +function th2 + ~/.screenlayout/titan-two-horiz.sh +end diff --git a/screenlayout/.screenlayout/keyboard-and-bg.sh b/screenlayout/.screenlayout/keyboard-and-bg.sh new file mode 100755 index 0000000..b15ad08 --- /dev/null +++ b/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 & diff --git a/screenlayout/.screenlayout/titan-two-horiz.sh b/screenlayout/.screenlayout/titan-two-horiz.sh new file mode 100755 index 0000000..b773aec --- /dev/null +++ b/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 & diff --git a/screenlayout/.screenlayout/titan-two.sh b/screenlayout/.screenlayout/titan-two.sh index 4c06cf8..2429c57 100755 --- a/screenlayout/.screenlayout/titan-two.sh +++ b/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