dotfiles/awesome/autorun.sh

30 lines
699 B
Bash
Raw Normal View History

2023-10-01 01:49:19 +00:00
#!/bin/sh
run() {
if ! pgrep -f "$1" ;
then
"$@"&
fi
}
2024-12-08 22:47:54 +00:00
# /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 &
# /usr/sbin/alacritty --title btop --command btop &
/usr/sbin/wezterm start &
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"
2024-12-08 22:47:54 +00:00
run "mullvad-vpn"
2023-10-01 01:49:19 +00:00
run "xscreensaver -no-splash"
run "keepassxc"
2024-12-08 22:47:54 +00:00
# run "sleep 4"
/usr/sbin/sleep 4
# This seems to broken specifically for wezterm & btop at startup
/usr/sbin/wezterm cli spawn --new-window -- /usr/sbin/btop
/usr/sbin/sleep 2
/usr/sbin/wmctrl -r btop -t 8