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
|
||||
sv down picom
|
||||
notify-send -h string:x-dunst-stack-tag:"togcom" \
|
||||
notify-send -h string:x-dunst-stack-tag:"togcompositor" \
|
||||
"Compositor Off"
|
||||
else
|
||||
sv up picom
|
||||
notify-send -h string:x-dunst-stack-tag:"togcom" \
|
||||
notify-send -h string:x-dunst-stack-tag:"togcompositor" \
|
||||
"Compositor On"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue