chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

chamesle-windowmaker-autostart (854B)


      1 #!/bin/sh
      2 # window maker runs this once it's up and the dock has started the tray, so the network and bluetooth
      3 # icons have somewhere to go
      4 [ -x /usr/libexec/xfce-polkit ] && /usr/libexec/xfce-polkit &
      5 # sound: the other desktops start it from xdg autostart, which window maker doesn't read. wireplumber and the
      6 # pulseaudio server come with it (/etc/pipewire/pipewire.conf.d)
      7 pgrep -u "$(id -u)" -x pipewire >/dev/null || pipewire &
      8 sleep 1
      9 nm-applet &
     10 command -v blueman-applet >/dev/null && blueman-applet &
     11 # lock with xlock after 10 minutes, and before the lid closes
     12 xset s 600
     13 xss-lock -- xlock -mode blank &
     14 # the screen reader and large text if they're on, and Super+Alt+S for the screen reader. window maker has no
     15 # shortcuts for commands of its own, sxhkd does them
     16 chamesle-access apply &
     17 sxhkd -c /usr/share/chamesle/windowmaker/sxhkdrc &