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.
13 lines
259 B
Desktop File
13 lines
259 B
Desktop File
[Unit]
|
|
Description=Miscellaneous settings for X11
|
|
PartOf=graphical-session@%i.target
|
|
|
|
[Service]
|
|
Environment=DISPLAY=%I
|
|
ExecStart=/usr/bin/xset -b
|
|
ExecStart=/usr/bin/numlock on
|
|
Type=oneshot
|
|
RemainAfterExit=false
|
|
|
|
[Install]
|
|
WantedBy=graphical-session@%i.target
|