Picom Toggle Script

- Add picom toggle script
- Use toggle script in dwm autostart and keybinding
This commit is contained in:
Sravan Balaji
2021-01-18 00:52:45 -05:00
parent 19e515c1b0
commit afcc05527a
2 changed files with 12 additions and 1 deletions

11
.config/picom/toggle_picom.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
if pgrep picom &>/dev/null; then
notify-send "Turning Picom OFF"
pkill picom &
else
notify-send "Turning Picom ON"
picom --experimental-backend --config /home/sravan/.config/picom/picom.conf &
fi
exit 0