diff options
| -rwxr-xr-x | dotfiles/system/.local/bin/startdwm | 3 | ||||
| -rw-r--r-- | dotfiles/system/.profile.d/capslock.sh | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/dotfiles/system/.local/bin/startdwm b/dotfiles/system/.local/bin/startdwm index c88dade..68d7c91 100755 --- a/dotfiles/system/.local/bin/startdwm +++ b/dotfiles/system/.local/bin/startdwm @@ -24,6 +24,9 @@ xhost si:localuser:root # start desktop environment applications (conky | while read LINE; do xsetroot -name "$LINE"; done) & +# make short-pressed Ctrl behave like Escape +xcape -e 'Control_L=Escape' & + xautolock -time 5 -locker slock & # picom & sxhkd & diff --git a/dotfiles/system/.profile.d/capslock.sh b/dotfiles/system/.profile.d/capslock.sh index 1ca22f8..1754225 100644 --- a/dotfiles/system/.profile.d/capslock.sh +++ b/dotfiles/system/.profile.d/capslock.sh @@ -2,11 +2,8 @@ # capslock.sh # Craig Jennings <c@cjennings.net> -# long press capslock for control, short press for escape -# requires xcape package +# remap capslock for control # make CapsLock behave like Ctrl: setxkbmap -option ctrl:nocaps -# make short-pressed Ctrl behave like Escape: -xcape -e 'Control_L=Escape' |
