29 lines
699 B
Bash
Executable file
29 lines
699 B
Bash
Executable file
#!/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 &
|
|
# /usr/sbin/alacritty --title btop --command btop &
|
|
/usr/sbin/wezterm start &
|
|
|
|
run "cbatticon"
|
|
run "blueman-applet"
|
|
run "nm-applet"
|
|
run "nextcloud --background"
|
|
run "pasystray"
|
|
run "mullvad-vpn"
|
|
run "xscreensaver -no-splash"
|
|
run "keepassxc"
|
|
# 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
|