picom: try again!

This commit is contained in:
Vincent Bernat 2021-06-30 20:39:37 +02:00
parent dd042ae594
commit d3af9e4890
4 changed files with 12 additions and 14 deletions

View file

@ -2,7 +2,7 @@
Description=Awesome window manager for %I
PartOf=graphical-session@%i.target
After=autorandr@%i.service
After=compton@%i.service
After=picom@%i.service
After=xsettingsd@%i.service
After=tmux.service
After=ssh-agent.service

View file

@ -1,12 +0,0 @@
[Unit]
Description=Compositor for X11 on %I
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
Restart=on-failure

View file

@ -3,7 +3,7 @@ Description=Graphical user session for %I
StopWhenUnneeded=yes
Wants=autorandr@%i.service
Wants=awesome@%i.service
Wants=compton@%i.service
Wants=picom@%i.service
Wants=inputplug@%i.service
Wants=misc-x@%i.service
Wants=nm-applet@%i.service

10
systemd/picom@.service Normal file
View file

@ -0,0 +1,10 @@
[Unit]
Description=Compositor for X11 on %I
PartOf=graphical-session@%i.target
[Service]
Environment=DISPLAY=%I
ExecStart=/usr/bin/picom --backend glx \
--xrender-sync-fence \
--vsync
Restart=on-failure