Skip to content

Commit

Permalink
wob: use config.wayland.systemd.target
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada authored and rycee committed Jan 3, 2025
1 parent 51ba4aa commit adcf0b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modules/services/dunst.nix
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ in {
systemd.user.services.dunst = {
Unit = {
Description = "Dunst notification daemon";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
After = [ config.wayland.systemd.target ];
PartOf = [ config.wayland.systemd.target ];
};

Service = {
Expand Down
6 changes: 3 additions & 3 deletions modules/services/wob.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ in {
Description =
"A lightweight overlay volume/backlight/progress/anything bar for Wayland";
Documentation = "man:wob(1)";
PartOf = "graphical-session.target";
After = "graphical-session.target";
PartOf = [ config.wayland.systemd.target ];
After = [ config.wayland.systemd.target ];
ConditionEnvironment = "WAYLAND_DISPLAY";
};
Service = {
StandardInput = "socket";
ExecStart = builtins.concatStringsSep " " ([ (getExe cfg.package) ]
++ optional (cfg.settings != { }) "--config ${configFile}");
};
Install.WantedBy = [ "graphical-session.target" ];
Install.WantedBy = [ config.wayland.systemd.target ];
};

sockets.wob = {
Expand Down

0 comments on commit adcf0b6

Please sign in to comment.