aboutsummaryrefslogtreecommitdiff
path: root/x/xsession.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-06-23 22:46:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-06-23 22:46:52 +1200
commit8c23582694eed17689dd2192305c895b961344bf (patch)
tree42d9e3704a54f29c7eb7c6be264131bb5153da3f /x/xsession.sh
parentUse three dashes, no space for attribution m-dash (diff)
downloaddotfiles-8c23582694eed17689dd2192305c895b961344bf.tar.gz
dotfiles-8c23582694eed17689dd2192305c895b961344bf.zip
Move Caps-Ctrl modifier into .keyboard file
This particular option works on the console, at least on Debian. May as well track it, and avoid setting it in the system-wide config.
Diffstat (limited to 'x/xsession.sh')
-rw-r--r--x/xsession.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/x/xsession.sh b/x/xsession.sh
index c0b5cb1c..805d8ef1 100644
--- a/x/xsession.sh
+++ b/x/xsession.sh
@@ -20,14 +20,12 @@ xargs xrandr \
xargs xwallpaper \
< "${XDG_CONFIG_HOME:-"$HOME"/.config}"/xwallpaper/config &
-# Set a few keyboard map options:
+# Add a couple more options to any set in ~/.keyboard:
#
-# - Remap Caps Lock as another Control key.
-# - Remap right Alt as a Compose key.
+# - Remap right Alt as an X Compose key.
# - Kill X server with Ctrl+Alt+Backspace.
#
setxkbmap \
- -option caps:ctrl_modifier \
-option compose:ralt \
-option terminate:ctrl_alt_bksp \
&