summaryrefslogtreecommitdiffstats
path: root/bspwm/bspwmrc
diff options
context:
space:
mode:
Diffstat (limited to 'bspwm/bspwmrc')
-rwxr-xr-xbspwm/bspwmrc11
1 files changed, 8 insertions, 3 deletions
diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc
index f31395a..efeb927 100755
--- a/bspwm/bspwmrc
+++ b/bspwm/bspwmrc
@@ -1,6 +1,11 @@
#! /bin/sh
-export PANEL_HEIGHT=16
+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
@@ -19,6 +24,6 @@ bspc monitor -d 1 2 3 4 5 6 7 8 9
xsetroot -solid "#000"
sxhkd &
-conky &
-stalonetray -bg "#000" --geometry "1x1+2570+6" --grow-gravity E -i $PANEL_HEIGHT &
+~/.config/bspwm/panel &
+stalonetray -bg "#000" --geometry "1x1+$TRAY_X+2" --grow-gravity E -i $TRAY_HEIGHT &
xdotool search --classname stalonetray windowraise