use pgrep
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user