vincentbernat.i3wm-configur.../systemd/inputplug@.service
Vincent Bernat ae691bb025 systemd: tentative to manage session with systemd
To me, I think it was cleaner to have a parameter with the current
display. This way, the session is specific to the current display. It
seems BindsTo doesn't think this way.
2020-01-19 19:06:49 +01:00

12 lines
273 B
Desktop File

[Unit]
Description=XInput event monitor
PartOf=graphical-session@%i.target
[Service]
Environment=DISPLAY=%I
ExecStartPre=/usr/bin/setxkbmap us
ExecStart=%h/bin/inputplug -0 -c %h/.config/awesome/bin/input-event
Type=forking
[Install]
WantedBy=graphical-session@%i.target