From 3321d30827aa50f94868566073b2c124254cc186 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 24 Oct 2022 11:54:38 -0400 Subject: [PATCH] polybar: Decrease height This makes polybar less obtrusive, however I've been considering removing it in the long-term to maximize screen estate. Although polybar is cute, I don't *need* to know everything in the bar every second I use the computer. Having specialized commands or keybinds that show certain information seems more useful in this case. Some information, such as the date and time, could become a part of the wallpaper itself, making blank desktops more useful than they are now. Although widgets are also an option, I have not verified how well these work under my current setup yet. --- polybar/.config/polybar/config | 10 +++++----- polybar/.config/polybar/launch.sh | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 1b66631f..056503fd 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -25,11 +25,11 @@ foreground = ${color.background-alt} background = ${color.background} border-color = ${color.text} -font-0 = "Fira Mono:style=Bold:size=10" -font-1 = "Noto Sans CJK JP:size=10" -font-2 = "Font Awesome 6 Free:style=Solid:size=10" -font-3 = "Font Awesome 6 Free:style=Regular:size=10" -font-4 = "Font Awesome 6 Brands:style=Regular:size=10" +font-0 = "Hack:size=9" +font-1 = "Noto Sans CJK JP:size=9" +font-2 = "Font Awesome 6 Free:style=Solid:size=9" +font-3 = "Font Awesome 6 Free:style=Regular:size=9" +font-4 = "Font Awesome 6 Brands:style=Regular:size=9" padding-left = 1 padding-right = 2 diff --git a/polybar/.config/polybar/launch.sh b/polybar/.config/polybar/launch.sh index c6598fc8..94ec2af3 100755 --- a/polybar/.config/polybar/launch.sh +++ b/polybar/.config/polybar/launch.sh @@ -15,7 +15,7 @@ bspc_config() { } # Set defaults -POLYBAR_HEIGHT=$((35 * $POLYBAR_SCALE)) +POLYBAR_HEIGHT=$((30 * $POLYBAR_SCALE)) HOST_WIDTH=$(bspc query -T -m | jq '.rectangle.width') # Make the bar float