Rewritting Compton's scripts on different files
This commit is contained in:
parent
d95b8151ee
commit
9cfbd78876
2 changed files with 72 additions and 0 deletions
9
helpers/DATA/compton/compton-launcher
Normal file
9
helpers/DATA/compton/compton-launcher
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ $DESKTOP_SESSION = "trisquel-session" ] || exit 0
|
||||
[ -f $HOME/.config/disable-compton ] && exit 0
|
||||
|
||||
FILE=/etc/compton.conf
|
||||
[ -f $HOME/.config/compton.conf ] && FILE="$HOME/.config/compton.conf"
|
||||
|
||||
[ 0 != $(glxinfo |grep "renderer string:" |grep -v llvmpipe | wc -c) ] && exec compton --config $FILE &
|
||||
Loading…
Add table
Add a link
Reference in a new issue