Picom Toggle Script
- Add picom toggle script - Use toggle script in dwm autostart and keybinding
This commit is contained in:
Submodule .config/dwm updated: fd9e12e7c5...3f3811e80d
11
.config/picom/toggle_picom.sh
Executable file
11
.config/picom/toggle_picom.sh
Executable 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
|
Reference in New Issue
Block a user