From ba9fc6cbcce4cef239575ad6a3286b8a578751f0 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sun, 6 Mar 2022 16:21:35 +0100 Subject: LC changes and comic sans --- scripts/Scripts/lc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts/Scripts/lc') 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 -- cgit v1.2.3