sxrc 375 B

12345678910111213141516171819
  1. #!/bin/sh --
  2. set -ue
  3. : "${XDG_CONFIG_HOME:=${HOME}/.config}"
  4. # main()
  5. (
  6. xset b off &
  7. numlockx on &
  8. xhost +local: &
  9. setsid unclutter -b
  10. hsetroot -fill "${XDG_CONFIG_HOME}/wall" &
  11. ) >/dev/null 2>/dev/null &
  12. [ ! -f "${XDG_CONFIG_HOME}/Xresources" ] || \
  13. xrdb -merge "${XDG_CONFIG_HOME}/Xresources"
  14. BSPWM_SOCKET="${TMPDIR:-/tmp}/bspwm-socket-${DISPLAY##*:}" exec bspwm