mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 18:24: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" ];
|
||||
};
|
||||
|
||||
"eww-window@" = {
|
||||
"eww-window-bar0" = {
|
||||
Unit = {
|
||||
Description = "Open %I eww (ElKowar's Wacky Widgets) window";
|
||||
Description = "Open bar0 eww (ElKowar's Wacky Widgets) window";
|
||||
After = [ "eww.service" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
@ -73,8 +73,8 @@ in {
|
|||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
ExecStartPre = "${pkgs.eww}/bin/eww ping";
|
||||
ExecStart = "${pkgs.eww}/bin/eww open %i";
|
||||
ExecStop = "${pkgs.eww}/bin/eww close %i";
|
||||
ExecStart = "${pkgs.eww}/bin/eww open bar0";
|
||||
ExecStop = "${pkgs.eww}/bin/eww close bar0";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue