mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-30 14:39:24 +02:00
Revert "picom: switch from compton to picom"
This reverts commit e6d1acc4ba
. While
compton is unmaintained, it works for me. Unfortunately, I am unable
to find a solution to get picom working correctly. Both xr_gl_hybrid
and glx backends introduce some flickering while the xrender backend
is unable to remove tearing.
This commit is contained in:
parent
61396904ee
commit
9b000caa1f
6 changed files with 16 additions and 12 deletions
|
@ -40,9 +40,9 @@ case "$1" in
|
||||||
xdotool key XF86AudioStop
|
xdotool key XF86AudioStop
|
||||||
# Then, lock screen
|
# Then, lock screen
|
||||||
echo "lock: lock screen"
|
echo "lock: lock screen"
|
||||||
systemctl --user stop picom@${display}.service
|
systemctl --user stop compton@${display}.service
|
||||||
i3lock -n -e -i $HOME/.cache/awesome/current-wallpaper-${display}.png -t -f
|
i3lock -n -e -i $HOME/.cache/awesome/current-wallpaper-${display}.png -t -f
|
||||||
systemctl --user start picom@${display}.service
|
systemctl --user start compton@${display}.service
|
||||||
echo "lock: unlock screen"
|
echo "lock: unlock screen"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -7,7 +7,7 @@ xss-lock
|
||||||
libnotify-bin
|
libnotify-bin
|
||||||
xfonts-terminus
|
xfonts-terminus
|
||||||
fonts-dejavu
|
fonts-dejavu
|
||||||
picom
|
compton
|
||||||
python3-xlib
|
python3-xlib
|
||||||
python3-pil
|
python3-pil
|
||||||
fvwm
|
fvwm
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
Description=Awesome window manager for %I
|
Description=Awesome window manager for %I
|
||||||
PartOf=graphical-session@%i.target
|
PartOf=graphical-session@%i.target
|
||||||
After=autorandr@%i.service
|
After=autorandr@%i.service
|
||||||
After=picom@%i.service
|
After=compton@%i.service
|
||||||
After=xsettingsd@%i.service
|
After=xsettingsd@%i.service
|
||||||
After=tmux.service
|
After=tmux.service
|
||||||
After=ssh-agent.service
|
After=ssh-agent.service
|
||||||
|
|
11
systemd/compton@.service
Normal file
11
systemd/compton@.service
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[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
|
|
@ -3,7 +3,7 @@ Description=Graphical user session for %I
|
||||||
StopWhenUnneeded=yes
|
StopWhenUnneeded=yes
|
||||||
Wants=autorandr@%i.service
|
Wants=autorandr@%i.service
|
||||||
Wants=awesome@%i.service
|
Wants=awesome@%i.service
|
||||||
Wants=picom@%i.service
|
Wants=compton@%i.service
|
||||||
Wants=inputplug@%i.service
|
Wants=inputplug@%i.service
|
||||||
Wants=misc-x@%i.service
|
Wants=misc-x@%i.service
|
||||||
Wants=nm-applet@%i.service
|
Wants=nm-applet@%i.service
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Compositor for X11 on %I
|
|
||||||
PartOf=graphical-session@%i.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Environment=DISPLAY=%I
|
|
||||||
ExecStart=/usr/bin/picom --vsync
|
|
Loading…
Add table
Add a link
Reference in a new issue