diff --git a/.install/restore.sh b/.install/restore.sh index 4c9f0f0..cc3d6bc 100755 --- a/.install/restore.sh +++ b/.install/restore.sh @@ -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 " diff --git a/.settings/blur.sh b/.settings/blur.sh new file mode 100644 index 0000000..4ffc966 --- /dev/null +++ b/.settings/blur.sh @@ -0,0 +1 @@ +50x30 \ No newline at end of file diff --git a/apps/ML4W_Dotfiles_Settings-x86_64.AppImage b/apps/ML4W_Dotfiles_Settings-x86_64.AppImage index 47cbf8f..c7487e0 100755 Binary files a/apps/ML4W_Dotfiles_Settings-x86_64.AppImage and b/apps/ML4W_Dotfiles_Settings-x86_64.AppImage differ diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf index 5c214a9..2496f6e 100644 --- a/hypr/hypridle.conf +++ b/hypr/hypridle.conf @@ -5,6 +5,7 @@ # |_| |_|\__, | .__/|_| |_|\__,_|_|\___| # |___/|_| # +# Version 2.8.3 general { ignore_dbus_inhibit = false @@ -12,20 +13,26 @@ general { # Screenlock listener { + # HYPRLOCK TIMEOUT timeout = 600 + # HYPRLOCK ONTIMEOUT on-timeout = hyprlock - # on-resume = notify-send "Welcome back to your desktop!" } # dpms listener { + # DPMS TIMEOUT timeout = 660 + # DPMS ONTIMEOUT on-timeout = hyprctl dispatch dpms off + # DPMS ONRESUME on-resume = hyprctl dispatch dpms on } # Suspend listener { + # SUSPEND TIMEOUT timeout = 1800 + #SUSPEND ONTIMEOUT on-timeout = systemctl suspend } diff --git a/hypr/scripts/wallpaper.sh b/hypr/scripts/wallpaper.sh index 20c9149..71fa520 100755 --- a/hypr/scripts/wallpaper.sh +++ b/hypr/scripts/wallpaper.sh @@ -13,6 +13,10 @@ cache_file="$HOME/.cache/current_wallpaper" blurred="$HOME/.cache/blurred_wallpaper.png" rasi_file="$HOME/.cache/current_wallpaper.rasi" +blur_file="$HOME/dotfiles/.settings/blur.sh" + +blur="50x30" +blur=$(cat $blur_file) # Create cache file if not exists if [ ! -f $cache_file ] ;then @@ -95,7 +99,7 @@ swww img $wallpaper \ # ----------------------------------------------------- magick $wallpaper -resize 50% $blurred echo ":: Resized to 50%" -magick $blurred -blur 50x30 $blurred +magick $blurred -blur $blur $blurred echo ":: Blurred" # -----------------------------------------------------