From 7a2d9d9f2b82ed2511a036853b92b1d70ce7d8d7 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Thu, 21 Dec 2023 11:06:51 +0100 Subject: [PATCH] Add Qtile autostart.sh --- .install/restore.sh | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.install/restore.sh b/.install/restore.sh index 09922ac..6caa667 100755 --- a/.install/restore.sh +++ b/.install/restore.sh @@ -161,22 +161,10 @@ _startRestore() { fi fi if [[ $profile == *"Qtile"* ]]; then - if [[ $restoreselect == *"~/dotfiles/qtile/conf/keyboard.py"* ]] || [[ $restoreselect == *"All"* ]] ; then - if [ -f ~/dotfiles/qtile/conf/keyboard.py ]; then - cp ~/dotfiles/qtile/conf/keyboard.py ~/dotfiles-versions/$version/qtile/conf/ - echo "Qtile keyboard.py restored!" - fi - fi - if [[ $restoreselect == *"~/dotfiles/qtile/autostart_wayland.sh"* ]] || [[ $restoreselect == *"All"* ]] ; then - if [ -f ~/dotfiles/qtile/autostart_wayland.sh ]; then - cp ~/dotfiles/qtile/autostart_wayland.sh ~/dotfiles-versions/$version/qtile/ - echo "Qtile autostart_wayland.sh restored!" - fi - fi - if [[ $restoreselect == *"~/dotfiles/qtile/autostart_x11.sh"* ]] || [[ $restoreselect == *"All"* ]] ; then - if [ -f ~/dotfiles/qtile/autostart_x11.sh ]; then - cp ~/dotfiles/qtile/autostart_x11.sh ~/dotfiles-versions/$version/qtile/ - echo "Qtile autostart_x11.sh restored!" + if [[ $restoreselect == *"~/dotfiles/qtile/autostart.sh"* ]] || [[ $restoreselect == *"All"* ]] ; then + if [ -f ~/dotfiles/qtile/autostart.sh ]; then + cp ~/dotfiles/qtile/autostart.sh ~/dotfiles-versions/$version/qtile/ + echo "Qtile autostart.sh restored!" fi fi fi