mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-07 00:34:21 +02:00
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.
This commit is contained in:
parent
d5b72851ec
commit
ae691bb025
20 changed files with 132 additions and 82 deletions
14
systemd/compton@.service
Normal file
14
systemd/compton@.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Compositor for X11
|
||||
PartOf=graphical-session@%i.target
|
||||
|
||||
[Service]
|
||||
Environment=DISPLAY=%I
|
||||
ExecStart=/usr/bin/compton --backend glx \
|
||||
--xrender-sync \
|
||||
--xrender-sync-fence \
|
||||
--vsync opengl-swc \
|
||||
--paint-on-overlay
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session@%i.target
|
Loading…
Add table
Add a link
Reference in a new issue