sway: improve startup

This commit is contained in:
Leonardo Eugênio 2022-12-21 21:06:47 -03:00
parent 31c01e92aa
commit c72f4a14e5
3 changed files with 20 additions and 1 deletions

View file

@ -133,6 +133,22 @@ in {
};
programs.bash = { enable = true; };
systemd.user.services = {
steam = {
Unit = {
Description = "Steam client";
PartOf = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
};
Service = {
ExecStartPre = "/usr/bin/env sleep 20s";
ExecStart = "${pkgs.steam}/bin/steam";
Restart = "on-failure";
};
Install = { WantedBy = [ "sway-session.target" ]; };
};
};
services.kdeconnect = {
enable = true;
indicator = true;