summaryrefslogtreecommitdiff
path: root/scripts/Scripts/lc
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2022-03-06 16:21:35 +0100
committerJulian T <julian@jtle.dk>2022-03-06 16:21:35 +0100
commitba9fc6cbcce4cef239575ad6a3286b8a578751f0 (patch)
treed2b40076e17b59f1178047bb39cb2b2ff6a952d1 /scripts/Scripts/lc
parent7dcdf175b6d948e12583352bcc29d95767e66c5f (diff)
LC changes and comic sans
Diffstat (limited to 'scripts/Scripts/lc')
-rwxr-xr-xscripts/Scripts/lc8
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