From 84578ba204f5a3aea0c30d63cd11f67ca435d800 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 28 May 2020 21:19:04 -0500 Subject: [PATCH] i3, Polybar: Rice rice rice rice --- .config/i3/config | 2 +- .config/polybar/config | 183 ++++++++++++++++++----------------------- 2 files changed, 80 insertions(+), 105 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 7232f975..6c84472e 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -30,7 +30,7 @@ workspace $w7 output $monsec font pango:Roboto 10 new_window pixel 4 focus_on_window_activation none -gaps inner 6 +gaps inner 4 set $red #ed1515 set $green #11d116 diff --git a/.config/polybar/config b/.config/polybar/config index c3d85675..6731c2d4 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -28,6 +28,10 @@ border = #31363b selection = #1d99f3 [res/config] +bar-width = 50 +bar-fill = | +bar-empty = | +bar-indicator = border-size = 4 padding = 2 @@ -45,35 +49,47 @@ background = ${res/colors.bg} foreground = ${res/colors.fg} border-color = ${res/colors.border} tray-background = ${res/colors.bg} -height = 48 +height = 32 width = 100%:-12 offset-x = 6 +padding = 2 border-left-size = ${res/config.border-size} border-right-size = ${res/config.border-size} -font-0 = "Inconsolata:style=Medium:size=11;2" -font-1 = "Deja Vu Sans Mono:style=Regular:size=11;2" +font-0 = "Roboto:style=Regular:size=10;2" +font-1 = "Deja Vu Sans Mono:style=Regular:size=10;2" [bar/primary] monitor = ${env:PB_MONITOR:eDP-1} +bottom = false +inherit = template/bar +border-bottom-size = ${res/config.border-size} +modules-left = i3 +modules-center = xwindow + +[bar/primary-2] +monitor = ${env:PB_MONITOR:eDP-1} inherit = template/bar border-top-size = ${res/config.border-size} -modules-left = i3 cpu memory battery temp -modules-right = backlight pulse date +modules-left = battery cpu memory +modules-right = backlight pulse | date ## MODULES +[module/|] +type = custom/text +content = | +content-foreground = ${res/colors.gray} + [module/backlight] type = internal/xbacklight -format =