mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-22 20:04:30 +02:00
compton: move to an helper binary
This commit is contained in:
parent
cb8b1e5434
commit
825f7b5b27
3 changed files with 10 additions and 2 deletions
8
bin/compton
Executable file
8
bin/compton
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec compton \
|
||||||
|
--backend glx \
|
||||||
|
--xrender-sync \
|
||||||
|
--xrender-sync-fence \
|
||||||
|
--vsync opengl-swc \
|
||||||
|
--paint-on-overlay
|
|
@ -37,7 +37,7 @@ case "$1" in
|
||||||
echo "$(date --rfc-3339=seconds) $me: lock: lock screen"
|
echo "$(date --rfc-3339=seconds) $me: lock: lock screen"
|
||||||
pkill compton
|
pkill compton
|
||||||
i3lock -n -e -i $HOME/.cache/awesome/current-wallpaper.png -t -f
|
i3lock -n -e -i $HOME/.cache/awesome/current-wallpaper.png -t -f
|
||||||
compton --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay &
|
~/.config/awesome/bin/compton &
|
||||||
echo "$(date --rfc-3339=seconds) $me: lock: unlock screen"
|
echo "$(date --rfc-3339=seconds) $me: lock: unlock screen"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
2
xsession
2
xsession
|
@ -23,12 +23,12 @@ systemctl --user import-environment
|
||||||
|
|
||||||
autorandr --change
|
autorandr --change
|
||||||
. ~/.config/awesome/bin/xsettingsd-setup
|
. ~/.config/awesome/bin/xsettingsd-setup
|
||||||
|
~/.config/awesome/bin/compton &
|
||||||
~/.config/awesome/bin/xss-lock start &
|
~/.config/awesome/bin/xss-lock start &
|
||||||
xiccd --edid &
|
xiccd --edid &
|
||||||
setxkbmap us
|
setxkbmap us
|
||||||
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
|
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
|
||||||
redshift -l 2.35:48.87 -t 6500:3900 2> /dev/null &
|
redshift -l 2.35:48.87 -t 6500:3900 2> /dev/null &
|
||||||
systemd-run -q --scope --user tmux start-server
|
systemd-run -q --scope --user tmux start-server
|
||||||
compton --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay &
|
|
||||||
|
|
||||||
exec awesome
|
exec awesome
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue