Advertisement
Guest User

Untitled

a guest
Apr 7th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. systemd.user.services.numlockx = {
  2. Unit = {
  3. Description = "Set numlock to on during X11 session";
  4. After = [ "graphical-session-pre.target" ];
  5. PartOf = [ "graphical-session.target" ];
  6. };
  7.  
  8. Service = {
  9. Type = "oneshot";
  10. ExecStart = "${pkgs.numlockx}/bin/numlockx";
  11. IOSchedulingClass = "idle";
  12. };
  13.  
  14. Install = {
  15. WantedBy = [ "graphical-session.target" ];
  16. };
  17. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement