This commit is contained in:
Stephan Raabe 2023-11-11 11:17:50 +01:00
parent ea2a6adbf0
commit ad8ab06486
4 changed files with 4 additions and 5 deletions

View File

@ -21,7 +21,6 @@ EOF
read -p "Do you want to proceed? (Yy/Nn): " yn
case $yn in
[Yy]* )
echo "-> Preparing dotfiles"
if [ ! -d ~/dotfiles-versions ]; then
mkdir ~/dotfiles-versions
fi

View File

@ -20,11 +20,11 @@ while true; do
if [ -z "$keyboard" ]; then
keyboard="us"
fi
SEARCH="kb_layout = de"
SEARCH="kb_layout = us"
REPLACE="kb_layout = $keyboard"
sed -i "s/$SEARCH/$REPLACE/g" ~/dotfiles-versions/$version/hypr/conf/keyboard.conf
SEARCH="keyboard_layout = \"de\""
SEARCH="keyboard_layout = \"us\""
REPLACE="keyboard_layout = \"$keyboard\""
sed -i "s/$SEARCH/$REPLACE/g" ~/dotfiles-versions/$version/qtile/conf/keyboard.py
break;;

View File

@ -2,7 +2,7 @@
# Keyboard Layout
# -----------------------------------------------------
input {
kb_layout = de
kb_layout = us
# kb_layout = us
follow_mouse = 1
touchpad {

View File

@ -1,3 +1,3 @@
# Setup global keyboard layout here
keyboard_layout = "de"
keyboard_layout = "us"