[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
|
# 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"
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user