This commit is contained in:
Stephan Raabe
2024-03-14 17:18:48 +01:00
parent 3fcda93405
commit 93476ecd9d
5 changed files with 19 additions and 4 deletions
+5 -2
View File
@@ -21,8 +21,11 @@ _showRestoreOptions() {
fi
if [[ $profile == *"Hyprland"* ]]; then
if [ -f ~/dotfiles/hypr/hypridle.conf ]; then
restorelist+="~/dotfiles/hypr/hypridle.conf "
selectedlist+="~/dotfiles/hypr/hypridle.conf,"
if grep -Fxq "# Version 2.8.3" ~/dotfiles/hypr/hypridle.conf
then
restorelist+="~/dotfiles/hypr/hypridle.conf "
selectedlist+="~/dotfiles/hypr/hypridle.conf,"
fi
fi
if [ -f ~/dotfiles/hypr/conf/custom.conf ]; then
restorelist+="~/dotfiles/hypr/conf/custom.conf "