From 2a60cd75077866ad392822310439f482c6611acf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sat, 2 Dec 2023 17:26:32 +0100 Subject: [PATCH] Kill rofi when already running --- awesome/scripts/toggle_rofi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome/scripts/toggle_rofi.sh b/awesome/scripts/toggle_rofi.sh index 39b689d..82adeaf 100755 --- a/awesome/scripts/toggle_rofi.sh +++ b/awesome/scripts/toggle_rofi.sh @@ -1,6 +1,6 @@ if ps -C rofi > /dev/null then - echo "Already running" + killall rofi else export TERMINAL=alacritty rofi -show combi -combi-modi drun,calc:~/.config/rofi/show-calculator.sh -sort -levenshtein-sort