system

the Chamesle handbook, init, live ISO and install helpers
git clone https://github.com/tortr-rs/system
Log | Files | Refs | README | LICENSE

autostart (676B)


      1 #!/bin/sh
      2 # Window Maker runs this once it is up. the dock starts the dock apps itself
      3 command -v xsetroot >/dev/null && xsetroot -cursor_name left_ptr
      4 if ! pgrep -u "$(id -u)" -x pipewire >/dev/null; then
      5 	if command -v gentoo-pipewire-launcher >/dev/null; then gentoo-pipewire-launcher restart >/dev/null 2>&1 &
      6 	elif command -v pipewire >/dev/null; then pipewire >/dev/null 2>&1 &
      7 	fi
      8 fi
      9 (sleep 2; command -v nm-applet >/dev/null && exec nm-applet) &
     10 s=$(dirname "$(readlink -f "$0")")
     11 command -v tint2 >/dev/null && tint2 -c "$s/tint2rc" &
     12 command -v dunst >/dev/null && dunst -config "$s/dunstrc" &
     13 command -v xscreensaver >/dev/null && xscreensaver --no-splash &
     14 exit 0