Kill rofi when already running
This commit is contained in:
parent
e78cec1387
commit
2a60cd7507
|
@ -1,6 +1,6 @@
|
||||||
if ps -C rofi > /dev/null
|
if ps -C rofi > /dev/null
|
||||||
then
|
then
|
||||||
echo "Already running"
|
killall rofi
|
||||||
else
|
else
|
||||||
export TERMINAL=alacritty
|
export TERMINAL=alacritty
|
||||||
rofi -show combi -combi-modi drun,calc:~/.config/rofi/show-calculator.sh -sort -levenshtein-sort
|
rofi -show combi -combi-modi drun,calc:~/.config/rofi/show-calculator.sh -sort -levenshtein-sort
|
||||||
|
|
Loading…
Reference in New Issue