mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 02:08:35 +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
266 B
Desktop File
12 lines
266 B
Desktop File
[Unit]
|
|
Description=Awesome window manager
|
|
PartOf=graphical-session@%i.target
|
|
|
|
[Service]
|
|
Environment=DISPLAY=%I
|
|
ExecStart=/usr/bin/awesome
|
|
ExecStopPost=/bin/systemctl --user stop graphical-session@%i.target
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
RequiredBy=xsession@%i.target
|