feat(homeModules/desktop): add status-bar
This commit is contained in:
parent
8b963e205e
commit
a318f13bd0
4 changed files with 19 additions and 0 deletions
16
modules/home/desktop/status-bar/default.nix
Normal file
16
modules/home/desktop/status-bar/default.nix
Normal 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;
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
|
@ -24,6 +24,7 @@ in
|
|||
exec-once = [
|
||||
"uwsm app -- $LOCKSCREEN"
|
||||
"uwsm app -- $NOTIFICATION_DAEMON"
|
||||
"uwsm app -- $STATUS_BAR"
|
||||
];
|
||||
xwayland.force_zero_scaling = true;
|
||||
}
|
||||
|
|
|
@ -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 "";
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
lockscreen = "hyprlock";
|
||||
notification-daemon = "mako";
|
||||
launcher = "fuzzel";
|
||||
status-bar = "waybar";
|
||||
mainMonitor = {
|
||||
id = "desc:OOO AN-270W04K";
|
||||
scale = "2";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue