added picom toggle/status modules to polybar

This commit is contained in:
2025-06-01 22:56:10 +10:00
parent 2a0633945d
commit d4a37b723f
3 changed files with 25 additions and 1 deletions

10
.config/picom/toggle.sh Executable file
View 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