From ed2235c4ca44e915486f0f19e89c96a20ed46406 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 3 Dec 2020 12:22:08 +0100 Subject: [PATCH] polybar: Rename bar and shrink in size Slightly restyled polybar, mainly shrunk in size and re-located the papers due information. Renamed it from `simple-top` to just `top` since no alternative top bar exists in this configuration. --- i3/.config/i3/config | 2 +- polybar/.config/polybar/config | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index a3bfd8f..db43cd4 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -184,7 +184,7 @@ bindsym $mod+Shift+F12 restart exec_always --no-startup-id feh --bg-scale ~/pictures/wall.jpg # launch polybar (script ensures only 1 instance existing at a time) -exec_always --no-startup-id polybar-launch simple-top +exec_always --no-startup-id polybar-launch top # default workspaces for most used apps # assign [class="^qutebrowser$"] → number 1 diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index b728528..1738cc1 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -43,7 +43,7 @@ throttle-input-for = 30 margin-top = 0 margin-bottom = 0 -[bar/simple-top] +[bar/top] ; enable inter process communication, so that we can send messages ; to polybar via polybar-msg command enable-ipc = true @@ -52,13 +52,13 @@ enable-ipc = true bottom=false width = 100% -height = 25 +height = 20 padding-left = 0 padding-right = 0 module-margin-left = 2 -modules-left = workspaces sxhkdmode pomo -modules-center = music date papersdue +modules-left = workspaces sxhkdmode pomo papersdue +modules-center = music date modules-right = networkspeed mail weather archupdates cpu temp backlight volume battery ; do not use offsets for the bar, would only work with override-redirect ; and will mess up tray https://github.com/polybar/polybar/issues/1355 @@ -67,7 +67,7 @@ tray-position = right ; Basic Colors, defined further up background = ${colors.background} foreground = ${colors.foreground} -line-size = 2 +line-size = 1 line-color = ${colors.primary} ; Prefer fixed center position for the `modules-center` block. @@ -85,9 +85,9 @@ fixed-center = true ; font-2 = Termsynu:size=8;-1 ; font-3 = FontAwesome:size=10 ; See the Fonts wiki page for more details -font-0 = Comic Neue -font-1 = NotoSans -font-2 = Iosevka:size=18;1 +font-0 = Comic Neue:size=10 +font-1 = NotoSans:size=23 +font-2 = Iosevka:size=14;1 cursor-click = pointer @@ -222,7 +222,7 @@ time = %H:%M ; the module will toggle between formats date-alt = %A, %d %B %Y (W %V) time-alt = %H:%M -label = %date% %{T2} %{T-}%time% +label = %date%%{T2}  %{T-}%time% format-underline = ${colors.primary} ; display information on currently playing track, allows simple track manipulation