picom doesn't accept positional arguments

master
Daniel Napora 2020-01-10 22:36:02 +01:00
parent 602fbec7e7
commit d85a655941
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# mabox-picom # mabox-compositor
# Openbox Pipe Menu for use with picom compositor # Openbox Pipe Menu for use with picom compositor
# Written for CrunchBang Linux <http://crunchbang.org/> # Written for CrunchBang Linux <http://crunchbang.org/>
# by Philip Newborough <corenominal@corenominal.org> # by Philip Newborough <corenominal@corenominal.org>
@ -34,9 +34,9 @@ esac
# ------------- Set xcompmgr command options ----------------------------------- # ------------- Set xcompmgr command options -----------------------------------
EXECXCOMP='picom' EXECXCOMP='picom'
if glxinfo | egrep -iq 'direct rendering: yes'; then #if glxinfo | egrep -iq 'direct rendering: yes'; then
EXECXCOMP+=' --vsync opengl' # EXECXCOMP+=' --vsync opengl'
fi #fi
# Edit xcompmgr settings # Edit xcompmgr settings
if [[ $1 = '--edit' ]]; then if [[ $1 = '--edit' ]]; then