Ironbar fix
This commit is contained in:
parent
518b78bf96
commit
b79ba87fcb
2 changed files with 9 additions and 1 deletions
|
|
@ -91,6 +91,14 @@ in {
|
|||
Whether to use ironbar in hyprland.
|
||||
'';
|
||||
};
|
||||
ironbarSingleMonitor = lib.mkOption {
|
||||
default = true;
|
||||
example = false;
|
||||
type = lib.types.bool;
|
||||
description = ''
|
||||
Whether to use ironbar on a single monitor.
|
||||
'';
|
||||
};
|
||||
useDefaultConfig = lib.mkOption {
|
||||
default = true;
|
||||
example = false;
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@
|
|||
];
|
||||
};
|
||||
monitorConfig =
|
||||
if config.mods.hypr.hyprland.enable
|
||||
if config.mods.hypr.hyprland.ironbarSingleMonitor
|
||||
then {monitors.${config.mods.hypr.hyprland.defaultMonitor} = ironbarDefaultConfig;}
|
||||
else ironbarDefaultConfig;
|
||||
in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue