Skip to content

Commit b5d66c4

Browse files
committed
add fix-keyboard
1 parent a2ff224 commit b5d66c4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

fix-keyboard

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/sh
2+
# _ _ ___ _ _
3+
# __ _| | _____ _____ ___ __| | ___ _ __ / _ \| || |
4+
# / _` | |/ _ \ \/ / __/ _ \ / _` |/ _ \ '__| | | | || |_
5+
# | (_| | | __/> < (_| (_) | (_| | __/ | | |_| |__ _|
6+
# \__,_|_|\___/_/\_\___\___/ \__,_|\___|_| \___/ |_|
7+
#
8+
# Copyright (c) 2021-2022 alexcoder04 <https://github.com/alexcoder04>
9+
#
10+
# set my prefered keyboard layout in xorg
11+
# my options:
12+
# - german layout
13+
# - set caps to be a second escape key
14+
15+
. libsh || exit 1
16+
17+
xset r rate 200 70
18+
setxkbmap -layout "${KEYBOARD_LAYOUT:-de}" -option "caps:escape" \
19+
&& lp_inform_gui "keyboard layout fixed"
20+

0 commit comments

Comments
 (0)