mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49:19 -08:00
profiles/sway: Moved to i3gopher user service
This commit is contained in:
parent
c8fe401c02
commit
1763571e19
1 changed files with 15 additions and 1 deletions
|
|
@ -12,6 +12,21 @@ let witch.style.base16 = lib.mapAttrs' (k: v: lib.nameValuePair k "#${v.hex.rgb}
|
|||
};
|
||||
|
||||
home.packages = with pkgs; [ grim slurp wl-clipboard jq ];
|
||||
|
||||
systemd.user.services.i3gopher = {
|
||||
Unit = {
|
||||
Description = "i3 focus history";
|
||||
After = ["sway-session.target"];
|
||||
PartOf = ["graphical-session.target"];
|
||||
};
|
||||
Service = {
|
||||
Type = "exec";
|
||||
Restart = "on-failure";
|
||||
StandardOutput = "null";
|
||||
ExecStart = "${pkgs.i3gopher}/bin/i3gopher";
|
||||
};
|
||||
Install.WantedBy = ["sway-session.target"];
|
||||
};
|
||||
|
||||
programs.zsh.profileExtra = ''
|
||||
# If running from tty1 start sway
|
||||
|
|
@ -103,7 +118,6 @@ let witch.style.base16 = lib.mapAttrs' (k: v: lib.nameValuePair k "#${v.hex.rgb}
|
|||
command = "systemctl --user restart mako";
|
||||
always = true;
|
||||
}
|
||||
{ command = "${pkgs.i3gopher}/bin/i3gopher"; }
|
||||
{ command = "mkchromecast -t"; }
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue