From ab899c2acba67a6d0720544fd0114ef6dc636bbd Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Fri, 13 Dec 2024 12:18:45 -0300 Subject: [PATCH] :boom: fix(autostart): generate color scheme if not exists, fixes first startup issues --- hypr/autostart.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hypr/autostart.conf b/hypr/autostart.conf index ccc51be..199ef54 100644 --- a/hypr/autostart.conf +++ b/hypr/autostart.conf @@ -3,14 +3,14 @@ ## AUTOSTART ## ############### -exec-once = /usr/lib/hyprpolkitagent # Experimental Hyprland Polkit Agent +exec-once = systemctl enable --user --now hyprpolkitagent.service # Hyprland Policy Kit exec-once = eww daemon && eww open bar # Daemon + Status Bar exec-once = dunst # Notification Daemon exec-once = hyprpaper # Wallpaper exec-once = hypridle # Idle daemon -# Load pywal from cache -exec-once = wal -R +# Load pywal from cache || generate pywal colorscheme +exec-once = sh -c "[[ -d $HOME/.cache/wal ]] && wal -R || wal -q -t --cols16 darken -i $(cat '$HOME/.config/hypr/hyprpaper.conf' | grep '$wallpaper =' | sed -e 's/^$wallpaper = //')" # Clipboard manager exec-once = wl-paste --type text --watch cliphist store # Stores text