diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-09-19 20:41:11 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-09-19 20:41:11 +0100 |
commit | 1a288a4b0904cd72553a260e5caa2f695fff95f8 (patch) | |
tree | 9188c645260125c34003ee31b025b571337cb6d2 | |
parent | e8659f62d684bd9da6a27c86b9d1ea62590a8e0d (diff) | |
download | dotnvim-1a288a4b0904cd72553a260e5caa2f695fff95f8.tar.gz dotnvim-1a288a4b0904cd72553a260e5caa2f695fff95f8.zip |
Tidier
-rw-r--r-- | i3/config | 10 | ||||
-rwxr-xr-x | i3/set-keyboard | 9 |
2 files changed, 11 insertions, 8 deletions
@@ -10,14 +10,8 @@ font pango:JetBrains Mono Medium 8 # Composite manager. 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' +# Keyboard layout and config +exec_always --no-startup-id ~/.config/i3/set-keyboard # 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. diff --git a/i3/set-keyboard b/i3/set-keyboard new file mode 100755 index 0000000..e905abb --- /dev/null +++ b/i3/set-keyboard @@ -0,0 +1,9 @@ +#!/bin/bash + +set -e + +setxkbmap -model pc105 -layout gb -variant extd +xmodmap -e 'keycode 66 = Mode_switch' +xmodmap -e 'clear lock' +xmodmap -e 'keycode 113 = Left NoSymbol Home' +xmodmap -e 'keycode 114 = Right NoSymbol End' |