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
-1
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
+2 -2
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;;