From 857c46b0225209f4c9dcf96aa2f8257a3b311410 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 10 Jul 2022 09:59:24 +0200 Subject: [PATCH] i3: start alacritty angepasst --- i3/scripte/start_alacritty.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i3/scripte/start_alacritty.sh b/i3/scripte/start_alacritty.sh index aa38446..180db4a 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 - # läuft bereits - i3-msg 'workspace 1'; /usr/local/bin/alacritty + # wechsle zu workspace 1 und starte alacritty + i3-msg 'workspace 1; exec --no-startup-id /usr/local/bin/alacritty' else - # starte - echo starte + # wenn lacritty schon läuft wechsle nur zu workspace 1 + i3-msg 'workspace 1' fi