#!/bin/bash # # Script to autostart programs. # function run() { if ! pgrep -f $1; then $1 $2& fi } run firefox run discord run alacritty "--working-directory $HOME/"