summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-05-29 16:09:23 -0500
committerCraig Jennings <c@cjennings.net>2025-05-29 16:09:23 -0500
commitb7ba02fbce85f1967139fd4dc21bf6497a14c983 (patch)
tree13db139d2906ede68a4545aaf39dc252d5467f71
parent99ba81603554b63a4daece5ea2509403557d20f7 (diff)
xcape is an x program and should not be placed in .profile
-rwxr-xr-xdotfiles/system/.local/bin/startdwm3
-rw-r--r--dotfiles/system/.profile.d/capslock.sh5
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'