feat(homeModules/desktop): add status-bar

This commit is contained in:
Mohammad Rafiq 2025-06-01 18:22:23 +08:00
parent 8b963e205e
commit a318f13bd0
No known key found for this signature in database
4 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{
config,
lib,
osConfig,
...
}:
{
config = lib.mkMerge [
(lib.mkIf (osConfig.desktop.status-bar == "waybar") {
home.sessionVariables.STATUS_BAR = "waybar";
programs.waybar = {
enable = true;
};
})
];
}

View file

@ -24,6 +24,7 @@ in
exec-once = [
"uwsm app -- $LOCKSCREEN"
"uwsm app -- $NOTIFICATION_DAEMON"
"uwsm app -- $STATUS_BAR"
];
xwayland.force_zero_scaling = true;
}

View file

@ -22,6 +22,7 @@
terminal = lib.pantheon.mkStrOption;
notification-daemon = lib.pantheon.mkStrOption;
launcher = lib.pantheon.mkStrOption;
status-bar = lib.pantheon.mkStrOption;
enableSpotifyd = lib.mkEnableOption "";
enableSteam = lib.mkEnableOption "";
enableVR = lib.mkEnableOption "";

View file

@ -25,6 +25,7 @@
lockscreen = "hyprlock";
notification-daemon = "mako";
launcher = "fuzzel";
status-bar = "waybar";
mainMonitor = {
id = "desc:OOO AN-270W04K";
scale = "2";