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.
This commit is contained in:
Marty Oehme 2020-12-03 12:22:08 +01:00
parent 1c335dcb66
commit ed2235c4ca
Signed by: Marty
GPG key ID: B7538B8F50A1C800
2 changed files with 10 additions and 10 deletions

View file

@ -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

View file

@ -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