scripts/rofi/drun.sh

11 lines
200 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.rasi -show drun
2020-09-11 15:00:39 +00:00
else
2020-11-23 09:35:26 +00:00
killall rofi 2&>1 /dev/null
2020-09-11 15:00:39 +00:00
fi