togcompositor: refactor
This commit is contained in:
parent
8db3a4adf0
commit
32b277c8c9
1 changed files with 2 additions and 2 deletions
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
if [ "$(sv status picom | cut -d ':' -f 1)" = "run" ]; then
|
if [ "$(sv status picom | cut -d ':' -f 1)" = "run" ]; then
|
||||||
sv down picom
|
sv down picom
|
||||||
notify-send -h string:x-dunst-stack-tag:"togcom" \
|
notify-send -h string:x-dunst-stack-tag:"togcompositor" \
|
||||||
"Compositor Off"
|
"Compositor Off"
|
||||||
else
|
else
|
||||||
sv up picom
|
sv up picom
|
||||||
notify-send -h string:x-dunst-stack-tag:"togcom" \
|
notify-send -h string:x-dunst-stack-tag:"togcompositor" \
|
||||||
"Compositor On"
|
"Compositor On"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue