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:
parent
1c335dcb66
commit
ed2235c4ca
2 changed files with 10 additions and 10 deletions
|
@ -184,7 +184,7 @@ bindsym $mod+Shift+F12 restart
|
||||||
exec_always --no-startup-id feh --bg-scale ~/pictures/wall.jpg
|
exec_always --no-startup-id feh --bg-scale ~/pictures/wall.jpg
|
||||||
|
|
||||||
# launch polybar (script ensures only 1 instance existing at a time)
|
# 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
|
# default workspaces for most used apps
|
||||||
# assign [class="^qutebrowser$"] → number 1
|
# assign [class="^qutebrowser$"] → number 1
|
||||||
|
|
|
@ -43,7 +43,7 @@ throttle-input-for = 30
|
||||||
margin-top = 0
|
margin-top = 0
|
||||||
margin-bottom = 0
|
margin-bottom = 0
|
||||||
|
|
||||||
[bar/simple-top]
|
[bar/top]
|
||||||
; enable inter process communication, so that we can send messages
|
; enable inter process communication, so that we can send messages
|
||||||
; to polybar via polybar-msg command
|
; to polybar via polybar-msg command
|
||||||
enable-ipc = true
|
enable-ipc = true
|
||||||
|
@ -52,13 +52,13 @@ enable-ipc = true
|
||||||
bottom=false
|
bottom=false
|
||||||
|
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 25
|
height = 20
|
||||||
padding-left = 0
|
padding-left = 0
|
||||||
padding-right = 0
|
padding-right = 0
|
||||||
module-margin-left = 2
|
module-margin-left = 2
|
||||||
|
|
||||||
modules-left = workspaces sxhkdmode pomo
|
modules-left = workspaces sxhkdmode pomo papersdue
|
||||||
modules-center = music date papersdue
|
modules-center = music date
|
||||||
modules-right = networkspeed mail weather archupdates cpu temp backlight volume battery
|
modules-right = networkspeed mail weather archupdates cpu temp backlight volume battery
|
||||||
; do not use offsets for the bar, would only work with override-redirect
|
; 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
|
; and will mess up tray https://github.com/polybar/polybar/issues/1355
|
||||||
|
@ -67,7 +67,7 @@ tray-position = right
|
||||||
; Basic Colors, defined further up
|
; Basic Colors, defined further up
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
line-size = 2
|
line-size = 1
|
||||||
line-color = ${colors.primary}
|
line-color = ${colors.primary}
|
||||||
|
|
||||||
; Prefer fixed center position for the `modules-center` block.
|
; Prefer fixed center position for the `modules-center` block.
|
||||||
|
@ -85,9 +85,9 @@ fixed-center = true
|
||||||
; font-2 = Termsynu:size=8;-1
|
; font-2 = Termsynu:size=8;-1
|
||||||
; font-3 = FontAwesome:size=10
|
; font-3 = FontAwesome:size=10
|
||||||
; See the Fonts wiki page for more details
|
; See the Fonts wiki page for more details
|
||||||
font-0 = Comic Neue
|
font-0 = Comic Neue:size=10
|
||||||
font-1 = NotoSans
|
font-1 = NotoSans:size=23
|
||||||
font-2 = Iosevka:size=18;1
|
font-2 = Iosevka:size=14;1
|
||||||
|
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ time = %H:%M
|
||||||
; the module will toggle between formats
|
; the module will toggle between formats
|
||||||
date-alt = %A, %d %B %Y (W %V)
|
date-alt = %A, %d %B %Y (W %V)
|
||||||
time-alt = %H:%M
|
time-alt = %H:%M
|
||||||
label = %date% %{T2} %{T-}%time%
|
label = %date%%{T2} %{T-}%time%
|
||||||
format-underline = ${colors.primary}
|
format-underline = ${colors.primary}
|
||||||
|
|
||||||
; display information on currently playing track, allows simple track manipulation
|
; display information on currently playing track, allows simple track manipulation
|
||||||
|
|
Loading…
Reference in a new issue