From e377720babb55531ad0419602931d12d4138fa92 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 7 Apr 2017 07:21:02 +0200 Subject: Define palette as customizable variables --- bspwm/bspwmrc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'bspwm/bspwmrc') diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc index efeb927..2e02ac8 100755 --- a/bspwm/bspwmrc +++ b/bspwm/bspwmrc @@ -1,11 +1,12 @@ #! /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 PANEL_HEIGHT=48 +export PANEL_FONT="DejaVu Sans Mono-16" +export TRAY_HEIGHT=28 export SCREEN_WIDTH="$(xrandr | grep '*' | sed 's/ *\([0-9]*\)x.*/\1/')" -export TRAY_X="$(echo "$SCREEN_WIDTH - 550" | bc)" +export TRAY_X="$(echo "$SCREEN_WIDTH - 300" | bc)" +export TRAY_Y=4 bspc config border_width 2 bspc config window_gap 12 @@ -22,8 +23,8 @@ bspc config focus_follows_pointer true bspc monitor -d 1 2 3 4 5 6 7 8 9 -xsetroot -solid "#000" +hsetroot -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 +#~/.config/bspwm/panel & +#stalonetray -bg "#000" --geometry "1x1+$TRAY_X+$TRAY_Y" --grow-gravity E -i $TRAY_HEIGHT & +#xdotool search --classname stalonetray windowraise -- cgit v1.2.1