Updates
This commit is contained in:
parent
3fcda93405
commit
93476ecd9d
@ -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 "
|
||||
|
1
.settings/blur.sh
Normal file
1
.settings/blur.sh
Normal file
@ -0,0 +1 @@
|
||||
50x30
|
Binary file not shown.
@ -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
|
||||
}
|
||||
|
@ -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"
|
||||
|
||||
# -----------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user