scripts/rofi/drun.sh

11 lines
187 B
Bash
Raw Normal View History

2020-09-11 15:00:39 +00:00
#!/bin/bash
ROFI=$(pgrep -c rofi | cut -b 1)
echo $ROFI
if [[ "$ROFI" -eq "0" ]]; then
rofi -config /home/jpm/.config/rofi/config -show drun
else
killall rofi 2&>1 /dev/null
fi