mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-22 18:03:28 +02:00
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.
12 lines
273 B
Desktop File
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
|