28 lines
536 B
Bash
Executable file
28 lines
536 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# autorun.sh
|
|
# AwesomeWM startup items
|
|
|
|
run() {
|
|
if ! pgrep -f "$1" ;
|
|
then
|
|
"$@"&
|
|
fi
|
|
}
|
|
|
|
/usr/sbin/wezterm start &
|
|
|
|
run "cbatticon"
|
|
run "blueman-applet"
|
|
run "nm-applet"
|
|
run "mullvad-vpn"
|
|
run "keepassxc"
|
|
/usr/sbin/nextcloud --background &
|
|
/usr/sbin/pasystray --key-grabbing --notify=all &
|
|
/usr/sbin/xscreensaver -no-splash &
|
|
/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
|