mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 18:54:34 +00:00
Don't use template systemd service for eww windows
This commit is contained in:
parent
47d070ce5e
commit
9eb0fc4b0a
|
@ -62,9 +62,9 @@ in {
|
||||||
Install.WantedBy = [ "graphical-session.target" ];
|
Install.WantedBy = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
"eww-window@" = {
|
"eww-window-bar0" = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Open %I eww (ElKowar's Wacky Widgets) window";
|
Description = "Open bar0 eww (ElKowar's Wacky Widgets) window";
|
||||||
After = [ "eww.service" ];
|
After = [ "eww.service" ];
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
@ -73,8 +73,8 @@ in {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
ExecStartPre = "${pkgs.eww}/bin/eww ping";
|
ExecStartPre = "${pkgs.eww}/bin/eww ping";
|
||||||
ExecStart = "${pkgs.eww}/bin/eww open %i";
|
ExecStart = "${pkgs.eww}/bin/eww open bar0";
|
||||||
ExecStop = "${pkgs.eww}/bin/eww close %i";
|
ExecStop = "${pkgs.eww}/bin/eww close bar0";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue