[hyprland] Run eww only once.
This commit is contained in:
@@ -31,8 +31,7 @@ in
|
||||
};
|
||||
|
||||
# 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 = [
|
||||
"eww open-many primary-statusbar secondary-statusbar launcher"
|
||||
wayland.windowManager.hyprland.settings.exec-once = [
|
||||
"sleep 2 && eww open-many primary-statusbar secondary-statusbar launcher"
|
||||
];
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
# 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
|
||||
exec = [
|
||||
exec-once = [
|
||||
"sleep 2 && eww open-many vertical-statusbar"
|
||||
];
|
||||
# Set up workspaces for this system
|
||||
|
||||
Reference in New Issue
Block a user