fix(homeModules/desktop): make hyprland reload waybar on rebuild

This commit is contained in:
Mohammad Rafiq 2025-06-01 19:01:46 +08:00
parent a6259c7c99
commit 3a2a668028
No known key found for this signature in database
2 changed files with 6 additions and 3 deletions

View file

@ -10,6 +10,12 @@
home.sessionVariables.STATUS_BAR = "waybar"; home.sessionVariables.STATUS_BAR = "waybar";
programs.waybar = { programs.waybar = {
enable = true; enable = true;
settings = [
{
layer = "top";
modules-right = [ "clock" ];
}
];
}; };
}) })
]; ];

View file

@ -24,9 +24,6 @@ in
exec-once = [ exec-once = [
"uwsm app -- $LOCKSCREEN" "uwsm app -- $LOCKSCREEN"
"uwsm app -- $NOTIFICATION_DAEMON" "uwsm app -- $NOTIFICATION_DAEMON"
];
exec = [
"uwsm app -- $STATUS_BAR" "uwsm app -- $STATUS_BAR"
]; ];