dotfiles/.config/wm_scripts/autostart.sh

17 lines
174 B
Bash
Raw Normal View History

2021-02-18 22:18:26 +08:00
#!/bin/bash
2021-05-23 14:32:27 +08:00
#
# Script to autostart programs.
#
2021-02-18 22:18:26 +08:00
function run()
{
if ! pgrep -f $1; then
2021-05-23 14:32:27 +08:00
$1 $2&
2021-02-18 22:18:26 +08:00
fi
}
run firefox
run discord
2021-05-23 14:32:27 +08:00
run alacritty "--working-directory $HOME/"