hyprland: fix hyprpaper enable condition (#1355)
Link: https://github.com/nix-community/stylix/pull/1355 Fixes: 7c66e (treewide: partially apply mkTarget) Reviewed-by: Flameopathic <flameopathic@gmail.com>
This commit is contained in:
parent
c1ef1efd8f
commit
f9a6a599d7
1 changed files with 6 additions and 5 deletions
|
|
@ -42,11 +42,12 @@ mkTarget {
|
|||
)
|
||||
(
|
||||
{ cfg }:
|
||||
(lib.mkIf cfg.hyprpaper.enable {
|
||||
services.hyprpaper.enable = true;
|
||||
stylix.targets.hyprpaper.enable = true;
|
||||
wayland.windowManager.hyprland.settings.misc.disable_hyprland_logo = true;
|
||||
})
|
||||
lib.mkIf (config.wayland.windowManager.hyprland.enable && cfg.hyprpaper.enable)
|
||||
{
|
||||
services.hyprpaper.enable = true;
|
||||
stylix.targets.hyprpaper.enable = true;
|
||||
wayland.windowManager.hyprland.settings.misc.disable_hyprland_logo = true;
|
||||
}
|
||||
)
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue