[galandor] waycorner service
This commit is contained in:
parent
87a6c647c3
commit
25414b7209
1 changed files with 13 additions and 0 deletions
|
|
@ -162,6 +162,19 @@
|
|||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
|
||||
systemd.user.services.waycorner = {
|
||||
enable = true;
|
||||
after = [ "cosmic-session.target" ];
|
||||
wantedBy = [ "cosmic-session.target" ];
|
||||
bindsTo = [ "cosmic-session.target" ];
|
||||
description = "Hot corners for cosmic";
|
||||
serviceConfig = {
|
||||
ExecCondition = "pgrep -xf cosmic-workspaces";
|
||||
ExecStart = "waycorner";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 2;
|
||||
};
|
||||
};
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue