update
parent
fce7df9f8d
commit
949a55e80f
|
@ -57,7 +57,7 @@ if [[ $1 = '--edit' ]]; then
|
||||||
fi
|
fi
|
||||||
elif [[ $1 = '--toggle' || $1 = '--start' ]]; then # Toggle compositing with picom.
|
elif [[ $1 = '--toggle' || $1 = '--start' ]]; then # Toggle compositing with picom.
|
||||||
[[ ! -f $HOME/.config/picom.conf ]] &&
|
[[ ! -f $HOME/.config/picom.conf ]] &&
|
||||||
cp '/etc/xdg/picom.conf' "$HOME/.config/picom.conf"
|
ln -sf /dev/null "$HOME/.config/picom.conf"
|
||||||
# TODO why --toggle and --start act exactly the same?
|
# TODO why --toggle and --start act exactly the same?
|
||||||
if ! pidof picom > /dev/null; then
|
if ! pidof picom > /dev/null; then
|
||||||
$EXECXCOMP &
|
$EXECXCOMP &
|
||||||
|
|
Loading…
Reference in New Issue