diff --git a/files/hyprland.conf b/files/hyprland.conf index 2bced1e..92ca873 100644 --- a/files/hyprland.conf +++ b/files/hyprland.conf @@ -4,8 +4,8 @@ monitor=eDP-1,1920x1080,auto,1.3333 $terminal = kitty $fileManager = nemo - - exec-once = waybar & hyprpaper & swaync +exec-once = waybar & awww-daemon & swaync +exec-once = ~/.config/hypr/wallpaper.restore.sh env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 @@ -193,7 +193,7 @@ bind = ,XF86Search, exec, pkill wofi || wofi --show drun bind = ,XF86LaunchA, exec, nwg-displays bind = ,XF86Explorer, exec, grim -g "$(slurp)" - | swappy -f - bind = SUPER SHIFT, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy - +bind = $mainMod, B, exec, ~/.local/bin/wallpaper-picker windowrule { name = supress-maximize-events match:class = .* diff --git a/files/wallpaper-restore.sh b/files/wallpaper-restore.sh new file mode 100755 index 0000000..e4816a7 --- /dev/null +++ b/files/wallpaper-restore.sh @@ -0,0 +1,4 @@ +#!/bin/bash +awww-daemon & +sleep 0.5 +awww img "/home/denode/Pictures/wallpaper/mountain02.jpg" --transition-type simple