dotfiles/i3/scripte/start_alacritty.sh

9 lines
165 B
Bash
Executable file

#!/bin/bash
if ! pgrep -x "alacritty" > /dev/null
then
# läuft bereits
i3-msg 'workspace 1'; /usr/local/bin/alacritty
else
# starte
echo starte
fi