Browse Source

Bigger size for bar and fonts on home

nixos
Maxime Wack 4 years ago
parent
commit
4904f43297
2 changed files with 18 additions and 4 deletions
  1. +13
    -3
      .config/bin/panel
  2. +5
    -1
      .config/bspwm/bspwmrc

+ 13
- 3
.config/bin/panel View File

@@ -23,19 +23,29 @@ clock -sf 'CT%H:%M' > "$PANEL_FIFO" &

if [ "$HOST" = "hegp" ];then
width=1660
height=24
size=10
volume -sf 'VS%s' -d hw:1 > "$PANEL_FIFO" &
volume -sf 'VI%i' -d hw:1 > "$PANEL_FIFO" &
elif [ "$HOST" = "home" ];then
width=1900
height=44
size=20
volume -sf 'VS%s' > "$PANEL_FIFO" &
volume -sf 'VI%i' > "$PANEL_FIFO" &
else
height=24
width=1900
size=10
volume -sf 'VS%s' > "$PANEL_FIFO" &
volume -sf 'VI%i' > "$PANEL_FIFO" &
fi

cat "$PANEL_FIFO" \
| panel_bar \
| lemonbar -g "$width"x24+10+0 \
-f "monofur\ for\ Powerline:size=10" \
-f "FontAwesome:size=10" \
| lemonbar -g "$width"x"$height"+10+0 \
-f "monofur\ for\ Powerline:size=$size" \
-f "FontAwesome:size=$size" \
-u 0 \
-B '#00AAAAAA' \
-F '#FF202020' &


+ 5
- 1
.config/bspwm/bspwmrc View File

@@ -120,4 +120,8 @@ if [ "$HOST" = "laptop" ];then
synergys &
fi

bspc config top_padding 14
if [ "$HOST" = "home" ];then
bspc config top_padding 34
else
bspc config top_padding 14
fi

Loading…
Cancel
Save