mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
parent
7edf6ccaec
commit
9e2499214d
1 changed files with 6 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
all filterAttrs hasAttr isStorePath literalExpression optionalAttrs types;
|
all filterAttrs hasAttr isStorePath literalExpression optional optionalAttrs
|
||||||
|
types;
|
||||||
inherit (lib.options) mkEnableOption mkOption;
|
inherit (lib.options) mkEnableOption mkOption;
|
||||||
inherit (lib.modules) mkIf mkMerge;
|
inherit (lib.modules) mkIf mkMerge;
|
||||||
|
|
||||||
|
@ -310,6 +311,10 @@ in {
|
||||||
Documentation = "https://github.com/Alexays/Waybar/wiki";
|
Documentation = "https://github.com/Alexays/Waybar/wiki";
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ "graphical-session.target" ];
|
||||||
After = [ "graphical-session-pre.target" ];
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
X-Restart-Triggers = optional (settings != [ ])
|
||||||
|
"${config.xdg.configFile."waybar/config".source}"
|
||||||
|
++ optional (cfg.style != null)
|
||||||
|
"${config.xdg.configFile."waybar/style.css".source}";
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
|
Loading…
Reference in a new issue