os/profiles/graphical/xmonad/scripts/autostart

17 lines
245 B
Plaintext
Raw Normal View History

2020-06-09 16:36:38 +00:00
#!/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