autostart input-leap
This commit is contained in:
parent
c8e4343f49
commit
24b273b4b0
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.kitty = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue