Files
repos_scripts/pi.sh
2021-07-01 21:23:58 +05:30

14 lines
196 B
Bash
Executable File

#!/bin/bash
if ps aux | grep "picom$" ; then
killall -q picom
sleep 1
notify-send "picom vsync on"
picom --vsync &
else
killall -q picom
sleep 1
picom &
notify-send "picom vsync off"
fi