configuration form the arch linux stored
This commit is contained in:
9
polybar/scripts/opacitytoggle.sh
Executable file
9
polybar/scripts/opacitytoggle.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/sh
|
||||
if (($(ps -aux | grep [p]icom | wc -l) > 0))
|
||||
then
|
||||
polybar-msg hook blur-toggle 1
|
||||
pkill -9 picom
|
||||
else
|
||||
polybar-msg hook blur-toggle 2
|
||||
picom -b --config=/home/r/.config/picom/picom.conf --experimental-backends --backend glx --blur-method dual_kawase &
|
||||
fi
|
||||
Reference in New Issue
Block a user