diff --git a/hypr/bin/hyprlock-background.sh b/hypr/bin/hyprlock-background.sh index c5c0edb..770c151 100755 --- a/hypr/bin/hyprlock-background.sh +++ b/hypr/bin/hyprlock-background.sh @@ -1,4 +1,5 @@ #!/bin/sh -ls ~/Pictures/wallpaper/*.png | shuf -n 1 - +background=$(ls ~/Pictures/wallpaper/*.png | shuf -n 1) +sed -i "s|.*Pictures.*|\tpath = $background|" ../hyprlock.conf +hyprlock diff --git a/hypr/decoration.conf b/hypr/decoration.conf index f88825d..07f45f6 100644 --- a/hypr/decoration.conf +++ b/hypr/decoration.conf @@ -4,7 +4,7 @@ decoration { rounding = 10 dim_inactive = true blur { - enabled = false + enabled = true size = 10 passes = 1 diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index 92dacae..7b7b81a 100644 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -5,7 +5,7 @@ background { monitor = - path = /home/tola/Pictures/wallpaper/dunes-sun.png # only *.png supported for now + path = /home/tola/Pictures/wallpaper/3d-tech.png color = rgba(25, 20, 20, 1.0) blur_passes = 4 # 0 disables blurring blur_size = 2 diff --git a/hypr/programs.conf b/hypr/programs.conf index 0f81585..d84cff1 100644 --- a/hypr/programs.conf +++ b/hypr/programs.conf @@ -3,7 +3,7 @@ $powermenu = ~/dotfiles/rofi/powermenu/powermenu.sh $terminal = kitty $fileManager = thunar $menu = ~/dotfiles/rofi/launcher/launcher.sh -$locker = hyprlock +$locker = ~/dotfiles/hypr/bin/hyprlock-background.sh $browser = google-chrome-stable $clipboard = ~/dotfiles/rofi/clipboard/clipboard.sh $emojipicker = ~/dotfiles/rofi/emoji/rofimoji.sh