Updates
This commit is contained in:
parent
ea2a6adbf0
commit
ad8ab06486
|
@ -21,7 +21,6 @@ EOF
|
||||||
read -p "Do you want to proceed? (Yy/Nn): " yn
|
read -p "Do you want to proceed? (Yy/Nn): " yn
|
||||||
case $yn in
|
case $yn in
|
||||||
[Yy]* )
|
[Yy]* )
|
||||||
echo "-> Preparing dotfiles"
|
|
||||||
if [ ! -d ~/dotfiles-versions ]; then
|
if [ ! -d ~/dotfiles-versions ]; then
|
||||||
mkdir ~/dotfiles-versions
|
mkdir ~/dotfiles-versions
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -20,11 +20,11 @@ while true; do
|
||||||
if [ -z "$keyboard" ]; then
|
if [ -z "$keyboard" ]; then
|
||||||
keyboard="us"
|
keyboard="us"
|
||||||
fi
|
fi
|
||||||
SEARCH="kb_layout = de"
|
SEARCH="kb_layout = us"
|
||||||
REPLACE="kb_layout = $keyboard"
|
REPLACE="kb_layout = $keyboard"
|
||||||
sed -i "s/$SEARCH/$REPLACE/g" ~/dotfiles-versions/$version/hypr/conf/keyboard.conf
|
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\""
|
REPLACE="keyboard_layout = \"$keyboard\""
|
||||||
sed -i "s/$SEARCH/$REPLACE/g" ~/dotfiles-versions/$version/qtile/conf/keyboard.py
|
sed -i "s/$SEARCH/$REPLACE/g" ~/dotfiles-versions/$version/qtile/conf/keyboard.py
|
||||||
break;;
|
break;;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Keyboard Layout
|
# Keyboard Layout
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
input {
|
input {
|
||||||
kb_layout = de
|
kb_layout = us
|
||||||
# kb_layout = us
|
# kb_layout = us
|
||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
touchpad {
|
touchpad {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# Setup global keyboard layout here
|
# Setup global keyboard layout here
|
||||||
|
|
||||||
keyboard_layout = "de"
|
keyboard_layout = "us"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user