mirror of https://github.com/polybar/polybar.git
Update wiki for 3.4.0
parent
876c4ccc9f
commit
a9391f0a64
|
@ -119,6 +119,7 @@ exec = ${root.myscript-command}
|
|||
; If unspecified, the application will pick the first one it finds.
|
||||
; $ polybar -m | cut -d ':' -f 1
|
||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||
; If no monitor is given, the primary monitor is used if it exists
|
||||
monitor =
|
||||
|
||||
; Use the specified monitor as a fallback if the main one is not found.
|
||||
|
@ -128,7 +129,7 @@ monitor-fallback =
|
|||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
||||
monitor-strict = false
|
||||
|
||||
; Use fuzzy matching for monitors (currently only ignores dashes -) (unreleased)
|
||||
; Use fuzzy matching for monitors (only ignores dashes -)
|
||||
; Useful when monitors are named differently with different drivers.
|
||||
monitor-exact = true
|
||||
|
||||
|
@ -192,13 +193,13 @@ line-color = #f00
|
|||
; window height is:
|
||||
; height + border-top-size + border-bottom-size
|
||||
; Meanwhile the effective window width is defined entirely by the width key and
|
||||
; the border is placed withing this area. So you effectively only have the
|
||||
; the border is placed within this area. So you effectively only have the
|
||||
; following horizontal space on the bar:
|
||||
; width - border-right-size - border-left-size
|
||||
; border-size can be defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in 50% minus 10 pixels. The percentage is relative
|
||||
; to the bar width or height depending on the border. (this way to specify border-size is unreleased)
|
||||
; to the bar width or height depending on the border.
|
||||
border-size =
|
||||
border-color =
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ format-NAME-padding = N
|
|||
format-NAME-margin = N
|
||||
format-NAME-spacing = N
|
||||
|
||||
; Use Nth font for this format (1-indexed) (unreleased)
|
||||
; Use Nth font for this format (1-indexed)
|
||||
format-NAME-font = N
|
||||
|
||||
; Displace the format block horizontally by +/-N pixels
|
||||
|
|
|
@ -54,21 +54,21 @@ format-discharging = <ramp-capacity> <label-discharging>
|
|||
|
||||
; Available tokens:
|
||||
; %percentage% (default) - is set to 100 if full-at is reached
|
||||
; %percentage_raw% (unreleased)
|
||||
; %percentage_raw%
|
||||
; %time%
|
||||
; %consumption% (shows current charge rate in watts)
|
||||
label-charging = Charging %percentage%%
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default) - is set to 100 if full-at is reached
|
||||
; %percentage_raw% (unreleased)
|
||||
; %percentage_raw%
|
||||
; %time%
|
||||
; %consumption% (shows current discharge rate in watts)
|
||||
label-discharging = Discharging %percentage%%
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default) - is set to 100 if full-at is reached
|
||||
; %percentage_raw% (unreleased)
|
||||
; %percentage_raw%
|
||||
label-full = Fully charged
|
||||
|
||||
; Only applies if <ramp-capacity> is used
|
||||
|
|
|
@ -140,7 +140,7 @@ label-empty-foreground = #55
|
|||
;label-sticky-foreground = #fba922
|
||||
;label-private =
|
||||
;label-private-foreground = #bd2c40
|
||||
;label-marked = M (unreleased)
|
||||
;label-marked = M
|
||||
|
||||
; Separator in between workspaces
|
||||
label-separator = |
|
||||
|
|
|
@ -22,6 +22,10 @@ thermal-zone = 0
|
|||
; Default reverts to thermal zone setting
|
||||
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
|
||||
|
||||
; Base temperature for where to start the ramp (in degrees celsius)
|
||||
; Default: 0
|
||||
base-temperature = 20
|
||||
|
||||
; Threshold temperature to display warning label (in degrees celsius)
|
||||
; Default: 80
|
||||
warn-temperature = 60
|
||||
|
@ -57,9 +61,9 @@ label-warn = TEMP %temperature-c%
|
|||
label-warn-foreground = #f00
|
||||
|
||||
; Requires the <ramp> tag
|
||||
; The icon selection will range from 0 to `warn-temperature`,
|
||||
; The icon selection will range from `base-temperature` to `warn-temperature`,
|
||||
; temperatures above `warn-temperature` will use the last icon
|
||||
; and temperatures below 0°C will use `ramp-0`
|
||||
; and temperatures below `base-temperature` will use `ramp-0`
|
||||
ramp-0 = A
|
||||
ramp-1 = B
|
||||
ramp-2 = C
|
||||
|
|
|
@ -24,7 +24,7 @@ format-spacing = 0
|
|||
; %layout%
|
||||
; %name%
|
||||
; %number%
|
||||
; %icon% (unreleased)
|
||||
; %icon%
|
||||
; Default: %layout%
|
||||
label-layout = %name%
|
||||
label-layout-padding = 2
|
||||
|
@ -34,13 +34,8 @@ label-layout-foreground = #000
|
|||
; Available tokens:
|
||||
; %name%
|
||||
; Default: %name%
|
||||
; @deprecated, use label-indicator-on
|
||||
label-indicator = %name%
|
||||
label-indicator-padding = 2
|
||||
label-indicator-background = #8139e8
|
||||
|
||||
; ------------------------------------------------
|
||||
; The following features are currently unreleased:
|
||||
|
||||
|
||||
; layout-icon-[0-9]+ = layout;icon
|
||||
; Assign each layout an icon that will be available as %icon% token for the
|
||||
|
|
Loading…
Reference in New Issue