autostart input-leap
This commit is contained in:
parent
56a3a55239
commit
c5c9789c6a
1 changed files with 21 additions and 0 deletions
21
home/all.nix
21
home/all.nix
|
|
@ -53,6 +53,27 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.user.services.input-leap = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Autostart Input Leap";
|
||||||
|
After = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
Service = {
|
||||||
|
Type = "oneshot";
|
||||||
|
RemainAfterExit = true;
|
||||||
|
PassEnvironment = "DISPLAY";
|
||||||
|
ExecStart = "${pkgs.writeShellScript "input-leap-start" ''
|
||||||
|
sleep 5
|
||||||
|
${pkgs.input-leap}/bin/input-leap
|
||||||
|
''}";
|
||||||
|
};
|
||||||
|
|
||||||
|
Install = {
|
||||||
|
WantedBy = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.konsole.enable = false;
|
programs.konsole.enable = false;
|
||||||
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue