From e8659f62d684bd9da6a27c86b9d1ea62590a8e0d Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 17 Sep 2023 20:55:43 +0100 Subject: Workaround to this weird keyboard layout --- i3/config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/i3/config b/i3/config index 50c860b..2207db8 100644 --- a/i3/config +++ b/i3/config @@ -13,6 +13,12 @@ exec --no-startup-id /usr/bin/compton -b # Keyboard layout. exec_always --no-startup-id setxkbmap -model pc105 -layout gb -variant extd +# To get home / end with caps lock and left / right +exec_always --no-startup-id xmodmap -e 'keycode 66 = Mode_switch' +exec_always --no-startup-id xmodmap -e 'clear lock' +exec_always --no-startup-id xmodmap -e 'keycode 113 = Left NoSymbol Home' +exec_always --no-startup-id xmodmap -e 'keycode 114 = Right NoSymbol End' + # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the # screen before suspend. Use loginctl lock-session to lock your screen. exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork -- cgit v1.2.3