added picom toggle/status modules to polybar
This commit is contained in:
10
.config/picom/toggle.sh
Executable file
10
.config/picom/toggle.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if pgrep -x picom
|
||||
then
|
||||
pkill picom
|
||||
else
|
||||
picom &>/dev/null &
|
||||
fi
|
||||
|
||||
polybar-msg action picom-status hook 0
|
||||
Reference in New Issue
Block a user