dotfiles/awesome/autorun.sh

21 lines
408 B
Bash
Raw Normal View History

2023-10-01 01:49:19 +00:00
#!/bin/sh
run() {
if ! pgrep -f "$1" ;
then
"$@"&
fi
}
run "cbatticon"
run "blueman-applet"
run "nm-applet --no-agent"
run "nextcloud --background"
run "pasystray"
run "keepassxc"
run "alacritty msg create-window --title bottom -e btm --battery || alacritty --title bottom -e btm --battery"
run "wmctrl -r bottom -t 1"
run "alacrity msg create-window || alacritty"
run "xscreensaver -no-splash"