sway: improve startup
This commit is contained in:
parent
31c01e92aa
commit
c72f4a14e5
|
@ -7,6 +7,7 @@
|
|||
After = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStartPre = "/usr/bin/env sleep 10s";
|
||||
ExecStart = "${pkgs.thunderbird}/bin/thunderbird";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
|
@ -19,7 +20,7 @@
|
|||
After = [ "graphical-session.target" "pipewire-pulse.service" "tray.service" "telegram.service" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStartPre = "/usr/bin/env sleep 1s";
|
||||
ExecStartPre = "/usr/bin/env sleep 12s";
|
||||
ExecStart = "${pkgs.webcord}/bin/webcord";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
|
@ -32,6 +33,7 @@
|
|||
After = [ "graphical-session.target" "pipewire-pulse.service" "tray.service" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStartPre = "/usr/bin/env sleep 11s";
|
||||
ExecStart = "${pkgs.tdesktop}/bin/telegram-desktop";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -304,6 +304,7 @@ in {
|
|||
extraConfig = ''
|
||||
for_window [title=.*] inhibit_idle fullscreen
|
||||
exec ${pkgs.dbus-sway-environment}/bin/dbus-sway-environment
|
||||
exec swaymsg workspace 2
|
||||
'';
|
||||
};
|
||||
services.swayidle = {
|
||||
|
|
Loading…
Reference in a new issue