diff options
author | David Robillard <d@drobilla.net> | 2016-05-26 12:03:11 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-05-26 12:05:22 -0400 |
commit | dd2bd3ac588d45daa101fc5a1cd4adcd912630e8 (patch) | |
tree | 9fab9e4f38969db90341a13a21d6bb5c667e11a1 /bspwm/bspwmrc | |
parent | 2f7ffcb1dccdb4a33841b7a3532be2c8db820038 (diff) | |
download | dotfiles-dd2bd3ac588d45daa101fc5a1cd4adcd912630e8.tar.gz dotfiles-dd2bd3ac588d45daa101fc5a1cd4adcd912630e8.tar.bz2 dotfiles-dd2bd3ac588d45daa101fc5a1cd4adcd912630e8.zip |
Add lemonbar configuration
Diffstat (limited to 'bspwm/bspwmrc')
-rwxr-xr-x | bspwm/bspwmrc | 11 |
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 |