dotfiles/awesome/autorun.sh

23 lines
433 B
Bash
Raw Normal View History

2023-10-01 01:49:19 +00:00
#!/bin/sh
run() {
if ! pgrep -f "$1" ;
then
"$@"&
fi
}
/usr/sbin/alacritty --socket "$XDG_RUNTIME_DIR/alacritty-main.sock" --title awesome-startup &
/usr/sbin/alacritty --title bottom --option font.size=6.5 --command btm --battery &
2023-10-01 01:49:19 +00:00
run "cbatticon"
run "blueman-applet"
run "nm-applet"
2023-10-01 01:49:19 +00:00
run "nextcloud --background"
run "pasystray"
run "xscreensaver -no-splash"
run "sleep 4"
run "wmctrl -r bottom -t 8"
run "keepassxc"
2023-10-01 01:49:19 +00:00