2020-09-11 15:00:39 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-12-31 16:08:28 +00:00
|
|
|
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
|