scripts/rofi/drun.sh

11 lines
246 B
Bash
Raw Normal View History

2020-09-11 15:00:39 +00:00
#!/bin/bash
ROFI=$(pgrep -xc rofi | cut -b 1)
2020-09-11 15:00:39 +00:00
echo $ROFI
if [[ "$ROFI" -eq "0" ]]; then
2023-01-06 19:41:31 +00:00
rofi -config /home/jpm/.config/rofi/config.rasi -theme /home/jpm/.config/rofi/sidebar.rasi -show drun -lines 20
2020-09-11 15:00:39 +00:00
else
2023-01-06 19:41:31 +00:00
killall rofi 2&>1 /dev/null
2020-09-11 15:00:39 +00:00
fi