use pgrep

This commit is contained in:
2026-01-15 22:46:22 -08:00
parent 05f4f7cc8d
commit 122ea23b63

View File

@ -22,5 +22,5 @@ kill -RTMIN+1 $(pidof dwmblocks)
# mixer vol.mute=toggle > /dev/null;;
#esac
#
#PID=$(ps aux | grep dwmblocks | awk 'NR==1 {print $2}')
#PID=$(pgrep dwmblocks)
#kill -RTMIN+1 $PID