From 13d5513e19358ba4041f04b309038bde08e1b45f Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 25 Feb 2025 09:21:03 -0300 Subject: etc/sh/rc: Add documentation of sourcing xmodmap data --- etc/sh/rc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'etc/sh') 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 # -- cgit v1.2.3