Make Polybar more compact

This commit is contained in:
M1dgard 2018-04-17 11:44:21 +02:00
parent 3d5e10ea13
commit 4073f2a170
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -43,8 +43,8 @@ foreground = ${colors.foreground}
padding-left = 0 padding-left = 0
padding-right = 3 padding-right = 3
module-margin-left = 3 module-margin-left = 6
module-margin-right = 3 module-margin-right = 6
font-0 = "Fira Sans:size=10;1" font-0 = "Fira Sans:size=10;1"
font-1 = "Font Awesome 5 Free:size=10;1" font-1 = "Font Awesome 5 Free:size=10;1"
@ -212,7 +212,8 @@ card = intel_backlight
type = internal/cpu type = internal/cpu
interval = 2 interval = 2
;format-prefix = " " ;format-prefix = " "
format = <ramp-coreload> format = <ramp-coreload>%{O-74}
format-foreground = ${colors.foreground-alt}
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000 format-underline = #f90000
;label = %percentage:2%% ;label = %percentage:2%%
@ -236,11 +237,13 @@ ramp-coreload-7 = █
[module/memory] [module/memory]
type = internal/memory type = internal/memory
interval = 2 interval = 2
format = "<bar-used>" ;format = "<bar-used>%{O-24}"
format = "%{T6}<label>%{T-}%{O-15}"
;format-prefix = " " ;format-prefix = " "
;format-prefix-foreground = ${colors.foreground-alt} ;format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc format-underline = #4bffdc
label = "%gb_used%" ;label = "%gb_used%"
label = "%percentage_used%%"
bar-used-indicator = bar-used-indicator =
bar-used-width = 9 bar-used-width = 9
@ -263,7 +266,8 @@ interval = 3.0
format-connected = <ramp-signal> <label-connected> format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9f78e1 format-connected-underline = #9f78e1
label-connected = %essid% ↑%upspeed% ↓%downspeed% label-connected = %essid%
label-connected-foreground = ${colors.foreground-alt}
format-disconnected = <label-disconnected> format-disconnected = <label-disconnected>
label-disconnected = label-disconnected =
@ -286,11 +290,11 @@ interface = enp4s0
interval = 3.0 interval = 3.0
format-connected-underline = #55aa55 format-connected-underline = #55aa55
format-connected-prefix = " " ;format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground} ;format-connected-prefix-foreground = ${colors.foreground}
label-connected-foreground = ${colors.foreground-alt}
;label-connected = %local_ip% ;label-connected = %local_ip%
label-connected = "↑%{T6}%upspeed%%{T-} %{T6}↓%downspeed%%{T-}" ;label-connected = "↑%{T6}%upspeed%%{T-} %{T6}↓%downspeed%%{T-}"
label-connected = "%{O-32}"
format-disconnected = format-disconnected =
;format-disconnected = <label-disconnected> ;format-disconnected = <label-disconnected>