aboutsummaryrefslogtreecommitdiff
path: root/etc/sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-02-25 09:21:03 -0300
committerEuAndreh <eu@euandre.org>2025-02-25 09:21:03 -0300
commit13d5513e19358ba4041f04b309038bde08e1b45f (patch)
treeba54e47d6b7a4d3cf15ec59c627f3cde185c1dbd /etc/sh
parentetc/sh/rc: Replace custom xmodmap of lambda with ß (diff)
downloaddotfiles-13d5513e19358ba4041f04b309038bde08e1b45f.tar.gz
dotfiles-13d5513e19358ba4041f04b309038bde08e1b45f.tar.xz
etc/sh/rc: Add documentation of sourcing xmodmap data
Diffstat (limited to 'etc/sh')
-rw-r--r--etc/sh/rc8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index bfd2946..6a4ee13 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -499,10 +499,12 @@ fi
if [ -n "${DISPLAY:-}" ]; then
xset s 1800
xset r rate 225 100
- # via xev(1):
+ # Get keycode number by running `xev(1)`, and symname by looking at the
+ # definitions in `X11/keysymdef.h`.
xmodmap \
- -e 'keycode 118 = ssharp bar' \
- -e 'keycode 75 = slash question'
+ -e 'keycode 118 = ssharp bar' \
+ -e 'keycode 75 = slash question' \
+
fi
#