i3: start alacritty angepasst
This commit is contained in:
parent
03356258a3
commit
857c46b022
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue