scripts/rofi/drun.sh

11 lines
187 B
Bash
Executable File

#!/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