[hyprland] Run eww only once.

This commit is contained in:
2025-05-05 13:07:21 -07:00
parent 73f2bcb362
commit 69bfb463fe
2 changed files with 3 additions and 4 deletions

View File

@@ -31,8 +31,7 @@ in
}; };
# Set up eww here because it's based on the monitor configuration # Set up eww here because it's based on the monitor configuration
# Eww is idempotent, so it's fine to just run it on every reload to make sure things are open wayland.windowManager.hyprland.settings.exec-once = [
wayland.windowManager.hyprland.settings.exec = [ "sleep 2 && eww open-many primary-statusbar secondary-statusbar launcher"
"eww open-many primary-statusbar secondary-statusbar launcher"
]; ];
} }

View File

@@ -32,7 +32,7 @@
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
# Set up eww here because it's based on the monitor configuration # Set up eww here because it's based on the monitor configuration
# Eww is idempotent, so it's fine to just run it on every reload to make sure things are open # Eww is idempotent, so it's fine to just run it on every reload to make sure things are open
exec = [ exec-once = [
"sleep 2 && eww open-many vertical-statusbar" "sleep 2 && eww open-many vertical-statusbar"
]; ];
# Set up workspaces for this system # Set up workspaces for this system