mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-02 01:04:26 +02:00
picom: switch from compton to picom
compton is unmaintained.
This commit is contained in:
parent
8ff879dbf5
commit
e6d1acc4ba
6 changed files with 15 additions and 16 deletions
|
@ -40,9 +40,9 @@ case "$1" in
|
|||
xdotool key XF86AudioStop
|
||||
# Then, lock screen
|
||||
echo "lock: lock screen"
|
||||
systemctl --user stop compton@${display}.service
|
||||
systemctl --user stop picom@${display}.service
|
||||
i3lock -n -e -i $HOME/.cache/awesome/current-wallpaper-${display}.png -t -f
|
||||
systemctl --user start compton@${display}.service
|
||||
systemctl --user start picom@${display}.service
|
||||
echo "lock: unlock screen"
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -7,7 +7,7 @@ xss-lock
|
|||
libnotify-bin
|
||||
xfonts-terminus
|
||||
fonts-dejavu
|
||||
compton
|
||||
picom
|
||||
python3-xlib
|
||||
python3-pil
|
||||
fvwm
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,11 +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
|
|
@ -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
10
systemd/picom@.service
Normal 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 \
|
||||
--glx-no-stencil \
|
||||
--glx-no-rebind-pixmap \
|
||||
--vsync
|
Loading…
Add table
Add a link
Reference in a new issue