This commit is contained in:
Stephan Raabe 2023-11-20 21:45:56 +01:00
parent 051538dab4
commit 0038510d56
3 changed files with 7 additions and 7 deletions

View File

@ -62,16 +62,16 @@ else
cp .install/templates/keyboard.conf ~/dotfiles-versions/$version/hypr/conf/keyboard.conf
cp .install/templates/keyboard.py ~/dotfiles-versions/$version/qtile/conf/keyboard.py
SEARCH="\"KEYBOARD_LAYOUT\""
REPLACE="\"$keyboard_layout\""
SEARCH="KEYBOARD_LAYOUT"
REPLACE="$keyboard_layout"
sed -i "s/$SEARCH/$REPLACE/g" ~/dotfiles-versions/$version/hypr/conf/keyboard.conf
SEARCH="\"KEYBOARD_LAYOUT\""
REPLACE="\"$keyboard_layout\""
sed -i "s/$SEARCH/$REPLACE/g" ~/dotfiles-versions/$version/qtile/conf/keyboard.py
SEARCH="\"KEYBOARD_VARIANT\""
REPLACE="\"$keyboard_variant\""
SEARCH="KEYBOARD_VARIANT"
REPLACE="$keyboard_variant"
sed -i "s/$SEARCH/$REPLACE/g" ~/dotfiles-versions/$version/hypr/conf/keyboard.conf
echo ""

View File

@ -2,8 +2,8 @@
# Keyboard Layout
# -----------------------------------------------------
input {
kb_layout = "KEYBOARD_LAYOUT"
kb_variant = "KEYBOARD_VARIANT"
kb_layout = KEYBOARD_LAYOUT
kb_variant = KEYBOARD_VARIANT
follow_mouse = 1
touchpad {
natural_scroll = false