diff --git a/usr/bin/mabox-compositor b/usr/bin/mabox-compositor index 278d2de..16a0d9d 100755 --- a/usr/bin/mabox-compositor +++ b/usr/bin/mabox-compositor @@ -40,13 +40,13 @@ EXECXCOMP='picom' # Edit xcompmgr settings if [[ $1 = '--edit' ]]; then - [[ ! -f $HOME/.config/compton.conf ]] && - cp '/etc/xdg/compton.conf' "$HOME/.config/compton.conf" + [[ ! -f $HOME/.config/picom.conf ]] && + cp '/etc/xdg/picom.conf' "$HOME/.config/picom.conf" if [[ -x /usr/bin/geany ]]; then - geany "$HOME/.config/compton.conf" & + geany "$HOME/.config/picom.conf" & else - terminator --command='nano "$HOME/.config/compton.conf"' + terminator --command='nano "$HOME/.config/picom.conf"' fi elif [[ $1 = '--toggle' || $1 = '--start' ]]; then # Toggle compositing with picom. # TODO why --toggle and --start act exactly the same? @@ -70,7 +70,7 @@ elif [[ $1 = '--restart' ]]; then mabox-compositor --start fi elif [[ $1 = '--watch' ]]; then - while inotifywait -e modify "$HOME/.config/compton.conf"; do + while inotifywait -e modify "$HOME/.config/picom.conf"; do mabox-compositor --restart # TODO move this to function? done else