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
|
#!/bin/bash
|
||||||
if ! pgrep -x "alacritty" > /dev/null
|
if pgrep -x "alacritty" > /dev/null
|
||||||
then
|
then
|
||||||
# läuft bereits
|
# wechsle zu workspace 1 und starte alacritty
|
||||||
i3-msg 'workspace 1'; /usr/local/bin/alacritty
|
i3-msg 'workspace 1; exec --no-startup-id /usr/local/bin/alacritty'
|
||||||
else
|
else
|
||||||
# starte
|
# wenn lacritty schon läuft wechsle nur zu workspace 1
|
||||||
echo starte
|
i3-msg 'workspace 1'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue