#! /bin/sh export PANEL_FIFO=/home/drobilla/bspwmpanel.fifo export PANEL_HEIGHT=18 export PANEL_FONT="DejaVu Sans Mono-11" export TRAY_HEIGHT=16 export SCREEN_WIDTH="$(xrandr | grep '*' | sed 's/ *\([0-9]*\)x.*/\1/')" export TRAY_X="$(echo "$SCREEN_WIDTH - 550" | bc)" bspc config border_width 2 bspc config window_gap 12 bspc config split_ratio 0.50 bspc config borderless_monocle true bspc config gapless_monocle true bspc config focus_by_distance true bspc config normal_border_color "#2D3232" bspc config focused_border_color "#6F7372" bspc config top_padding $PANEL_HEIGHT bspc config focus_follows_pointer true bspc monitor -d 1 2 3 4 5 6 7 8 9 xsetroot -solid "#000" sxhkd & ~/.config/bspwm/panel & stalonetray -bg "#000" --geometry "1x1+$TRAY_X+2" --grow-gravity E -i $TRAY_HEIGHT & xdotool search --classname stalonetray windowraise