devos/profiles/graphical/xmonad/scripts/autostart
2020-06-09 10:36:38 -06:00

16 lines
245 B
Bash

#!/usr/bin/env zsh
terminal="alacritty"
# set screen locker to slock
pgrep -x xss-lock \
|| xss-lock slock&!
pgrep -x xbanish \
|| xbanish&!
${terminal} -e tmux new-session -As $(whoami)&!
if ! pgrep -f qutebrowser; then
${BROWSER} &!
fi