This commit is contained in:
Stephan Raabe
2023-12-20 11:05:15 +01:00
parent 59a037c694
commit 51e9d67781
18 changed files with 82 additions and 297 deletions
+4 -1
View File
@@ -24,9 +24,12 @@ echo -e "${NONE}"
echo ""
fi
if [[ $profile == *"Qtile"* ]]; then
if [ -f /usr/share/wayland-sessions/qtile-wayland.desktop ]; then
sudo mv /usr/share/wayland-sessions/qtile-wayland.desktop /usr/share/wayland-sessions/qtile-wayland.bak
fi
echo "PLEASE NOTE: Qtile works with Display Managers."
echo "But if you want to use the tty based (terminal) login instead, you can disable the display manager now."
echo "If you install the aliases with the included .bashrc, you can start Qtile with the command Qtile or QtileWayland."
echo "If you install the aliases with the included .bashrc, you can start Qtile with the command Qtile."
echo ""
fi
+3 -3
View File
@@ -50,9 +50,9 @@ else
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="\"setxkbmap en\""
REPLACE="\"setxkbmap $keyboard_layout\""
sed -i "s/$SEARCH/$REPLACE/g" ~/dotfiles-versions/$version/qtile/autostart.sh
echo ""
echo "Keyboard setup updated successfully."
+3 -11
View File
@@ -59,17 +59,9 @@ _showRestoreOptions() {
fi
fi
if [[ $profile == *"Qtile"* ]]; then
if [ -f ~/dotfiles/qtile/conf/keyboard.py ]; then
restorelist+="~/dotfiles/qtile/conf/keyboard.py "
selectedlist+="~/dotfiles/qtile/conf/keyboard.py,"
fi
if [ -f ~/dotfiles/qtile/autostart_wayland.sh ]; then
restorelist+="~/dotfiles/qtile/autostart_wayland.sh "
selectedlist+="~/dotfiles/qtile/autostart_wayland.sh,"
fi
if [ -f ~/dotfiles/qtile/autostart_x11.sh ]; then
restorelist+="~/dotfiles/qtile/autostart_x11.sh "
selectedlist+="~/dotfiles/qtile/autostart_x11.sh,"
if [ -f ~/dotfiles/qtile/autostart.sh ]; then
restorelist+="~/dotfiles/qtile/autostart.sh "
selectedlist+="~/dotfiles/qtile/autostart.sh,"
fi
fi
restoreselect=$(gum choose --no-limit --height 20 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " --selected="$selectedlist" $restorelist)