diff options
Diffstat (limited to 'scripts/Scripts/lc')
-rwxr-xr-x | scripts/Scripts/lc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/Scripts/lc b/scripts/Scripts/lc index f9c1031..21e9e0b 100755 --- a/scripts/Scripts/lc +++ b/scripts/Scripts/lc @@ -3,7 +3,7 @@ LOGFILE=.lc.log DMENU="rofi -dmenu" -Commands="s suspend screen goto common bwpass remember set-keyboard rotate poweroff lock scrot region overleaf-render caps-lock win wall cups pass sync random" +Commands="s suspend screen goto common bwpass remember set-keyboard sa-keyboard rotate poweroff lock scrot region overleaf-render caps-lock win wall cups pass sync random" handle_stuff() { if [ "$1" = "--dmenu" ]; then @@ -17,6 +17,12 @@ handle_stuff() { xmodmap .Xmodmap fi + if [ "$1" = "sa" ] || [ "$1" = "sa-keyboard" ]; then + setxkbmap -layout us -variant colemak_dh_iso + #xcape -e "Control_R=Escape" + xmodmap .Xmodmap + fi + # POWER COMMANDS if [ "$1" = "suspend" ]; then systemctl suspend |