dotfiles/.config/wm_scripts/autostart.sh
2021-05-23 14:32:27 +08:00

17 lines
174 B
Bash
Executable File

#!/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/"