9 lines
271 B
Bash
Executable file
9 lines
271 B
Bash
Executable file
#!/bin/bash
|
|
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 alacritty schon läuft wechsle nur zu workspace 1
|
|
i3-msg 'workspace 1'
|
|
fi
|