From d9aac31289e24e592c322b014230e9245a3bf70e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 10 Jul 2022 10:04:29 +0200 Subject: [PATCH] i3: alacritty --- i3/scripte/start_alacritty.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3/scripte/start_alacritty.sh b/i3/scripte/start_alacritty.sh index 180db4a..03ebf2f 100755 --- a/i3/scripte/start_alacritty.sh +++ b/i3/scripte/start_alacritty.sh @@ -1,9 +1,9 @@ #!/bin/bash -if pgrep -x "alacritty" > /dev/null +if ! pgrep -x "alacritty" > /dev/null then # wechsle zu workspace 1 und starte alacritty i3-msg 'workspace 1; exec --no-startup-id /usr/local/bin/alacritty' else - # wenn lacritty schon läuft wechsle nur zu workspace 1 + # wenn alacritty schon läuft wechsle nur zu workspace 1 i3-msg 'workspace 1' fi