Add Qtile autostart.sh

This commit is contained in:
Stephan Raabe 2023-12-21 11:06:51 +01:00
parent 88a73b7039
commit 7a2d9d9f2b

View File

@ -161,22 +161,10 @@ _startRestore() {
fi fi
fi fi
if [[ $profile == *"Qtile"* ]]; then if [[ $profile == *"Qtile"* ]]; then
if [[ $restoreselect == *"~/dotfiles/qtile/conf/keyboard.py"* ]] || [[ $restoreselect == *"All"* ]] ; then if [[ $restoreselect == *"~/dotfiles/qtile/autostart.sh"* ]] || [[ $restoreselect == *"All"* ]] ; then
if [ -f ~/dotfiles/qtile/conf/keyboard.py ]; then if [ -f ~/dotfiles/qtile/autostart.sh ]; then
cp ~/dotfiles/qtile/conf/keyboard.py ~/dotfiles-versions/$version/qtile/conf/ cp ~/dotfiles/qtile/autostart.sh ~/dotfiles-versions/$version/qtile/
echo "Qtile keyboard.py restored!" echo "Qtile autostart.sh 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!"
fi fi
fi fi
fi fi