Bot releases are visible (Hide)
polybar-3.7.1.tar.gz (sha256: 5de6ad385ba09dc453a4e5ec7054749a4882b5b21a62c17ae40bf7c90613ff0f
)
libc++
in clang 15 and belowinternal/tray
: The module must use the <tray>
tag (this is the default) (#3037
)<label>
) used in a format were valid for that format (#3043
, #3045
)internal/tray
: Fixed module-margin
and separator
being applied to completely empty tray module (#3036
, #3037
)Full Changelog: https://github.com/polybar/polybar/compare/3.7.0...3.7.1
Published by patrick96 12 months ago
polybar-3.7.0.tar.gz (sha256: b8e07aca94a013341b7d47ee548afe84f519113f202300565d4852885a11e91d
)
custom/script
:
exec
command failed and did not change the output from the previous run (#2636
). Somewhat similar original behaviour can be imitated with format-fail
, if necessary.exec
command produced no output and exited with a non-zero exit code the module is no longer completely empty, but just has an empty %output%
token. If you relied on this behavior to hide the module under certain circumstances, make sure the script exits with an exit code of zero. (#2857
, #2861
)CMAKE_INSTALL_PREFIX
when installing default config (#2770
, #2917
)CMAKE_INSTALL_PREFIX
to /usr
. Installations with default flags will now go into /usr
instead of /usr/local
(#2917
)#2847
)custom/text
: The content
setting and all its properties are deprecated in favor of format
with the same functionality. (#2676
)#3002
)
tray-position
, tray-detached
, tray-maxsize
, tray-scale
, tray-transparent
, tray-background
, tray-foreground
, tray-padding
, tray-offset-x
, tray-offset-y
internal/tray
for positioning the tray like a module (#2689
)internal/temperature
: %temperature-k%
token displays the temperature in degrees Kelvin (#2774
, #2784
)internal/pulseaudio
: reverse-scroll
option (#2664
)custom/script
: Repeat interval for script failure (interval-fail
) and exec-if
(interval-if
) (#943
, #2606
, #2630
)custom/ipc
:
<label>
in format
(#2841
) by @madhavpcm.format-i
for each defined hook-i
(#2775
, #2810
) by @madhavpcm.custom/text
: Loads the format
setting, which supports the <label>
tag, if the deprecated content
is not defined (#1331
, #2673
, #2676
)internal/backlight
:
internal/temperature
: Added zone-type
setting (#2572
, #2752
) by @xphoniex
internal/xwindow
: %class%
and %instance%
tokens, which show the contents of the WM_CLASS
property of the active window (#2830
)enable-struts
option in bar section to enable/disable struts (#2769
, #2844
) by @VanillaViking.wm-restack
:
internal/xworkspaces
: group-by-monitor
setting to decide whether _NET_DESKTOP_VIEWPORT
should be used to group workspaces by monitor; (#2603
, #2926
) by @slotThe.custom/script
:
exec
command failed. It only produces an empty module if the script had a zero exit code. (#2857
, #2861
)interval
setting) to decrease wakeups. Polybar may take slightly longer to shut down. #2879
internal/fs
: Use /
as a fallback if no mountpoints are specified (#2572
, #2705
)internal/backlight
:
#2789
, #2801
) by @VanillaViking.#2831
, #2829
) by @Ron0Studios.wm-restack
#2663
, #2695
)internal/xwindow
: module does not crash when a tag is not provided in format (#2826
, #2833
) by @VanillaViking
internal/i3
: module errors when i3 has negative gaps (#2888
, #2889
)internal/backlight
: Fix module being one step behind every update (#2835
, #3028
)wm-restack = bspwm
: bar may become unclickable if there are overlapping monitors (#2873
, #2961
)Full Changelog: https://github.com/polybar/polybar/compare/3.6.0...3.7.0
Published by patrick96 over 2 years ago
polybar-3.6.3.tar.gz (sha256: f25758573567208fc7b6f4d4115a6117a87389cbcc094cf605d079775be95fa5
)
custom/script
: Output clearing when exec-if
fails (#2674
)internal/battery
: poll-interval
not working (#2649
, #2677
)XDG_RUNTIME_DIR
is not set (#2683
, #2684
)#2685
)_NET_WM_STRUT_PARTIAL
) when hiding the bar (#2702
)internal/pulseaudio
: Hanging during startup (#2707
, #2709
)internal/xworkspaces
: Updates of _NET_DESKTOP_VIEWPORT
being ignored (#2693
, #2698
)Full Changelog: https://github.com/polybar/polybar/compare/3.6.2...3.6.3
Published by patrick96 over 2 years ago
polybar-3.6.2.tar.gz (sha256: 73becc942e7d2418bc72bd194f2037a2a86792219fd561b663a8509fd5f547a0
)
format-offset
being ignored (#2643
)margin-bottom
, margin-top
) being ignored (#2642
, #2644
)#2651
)internal/xworkspaces
: The module sometimes crashed polybar when windows were closed. (#2655
)#2656
)custom/script
: Timing inconsistencies (#2650
, first described at #2630
)Full Changelog: https://github.com/polybar/polybar/compare/3.6.1...3.6.2
Published by patrick96 over 2 years ago
polybar-3.6.1.tar.gz (sha256: a898ba8c847895be41efe5a31bb1b839da2c10b130b8411d5016982fbaadff7b
)
#2613
)#2616
, #2614
)#2612
)LDFLAGS
not being respected (#2619
)tray-offset-x
, tray-offset-y
, offset-x
, and offset-y
were mistakenly capped below at 0 (#2620
)custom/script
: Polybar shutdown being stalled by hanging script (#2621
)polybar-msg
: Wrong hint when using deprecated hook
(#2624
)Full Changelog: https://github.com/polybar/polybar/compare/3.6.0...3.6.1
Published by patrick96 over 2 years ago
polybar-3.6.0.tar.gz (sha256: 563473d5ae2b83d4dba6372f85cbcfd8d5a271b4cf3345ff57acff9c81e1b065
)
#2354
)%{T-a}
, %{T2abc}
, %{rfoo}
, and others will now start producing errors. This does not affect you unless you are producing your own invalid formatting tags (for example in a script)./tmp/polybar_mqueue.<PID>
had its permission bits changed from 666
to 600
to prevent sending ipc messages to polybar processes running under a different user.polybar-msg
command will now only send messages to polybar processes running under the same user. See the IPC documentation for what exactly this means.BUILD_IPC_MSG
option has been renamed to BUILD_POLYBAR_MSG
sphinx-build
is found.BUILD_POLYBAR=ON
- Builds the polybar
executableBUILD_POLYBAR_MSG=ON
- Builds the polybar-msg
executableBUILD_TESTS=OFF
- Builds the test suiteBUILD_DOC=ON
- Builds the documentationBUILD_DOC_HTML=BUILD_DOC
- Builds the html documentation (depends on BUILD_DOC
)BUILD_DOC_MAN=BUILD_DOC
- Builds the manpages (depends on BUILD_DOC
)BUILD_CONFIG=ON
- Generates the default configBUILD_SHELL=ON
- Generates shell completion filesDISABLE_ALL=OFF
- Disables all above targets by default. Individual targets can still be enabled explicitly.doc
directory.POLYBAR_FLAGS
cmake variable can be used to pass extra C++ compiler flags./etc/polybar/config.ini
, it lives in doc/config.ini
. It will also be placed in the examples
directory in the documentation folder. (#2405
)userconfig
target has been removed, you can no longer use make userconfig
. As an alternative, you can copy the default config from /etc/polybar/config.ini
.DEBUG_SHADED
cmake variable and its associated functionality has been removed.[settings]
: throttle-output
and throttle-output-for
have been removed. The new event loop already does a similar thing where it coalesces update triggers if they happen directly after one another, leading to only a single bar update.--config
, naming your config file config
is deprecated. Rename your config file to config.ini
./tmp/polybar_mqueue.<PID>
is deprecated, users should always use polybar-msg
. As a consequence the message format used for IPC is deprecated as well.polybar-msg hook
is deprecated in favor of using the hook action. polybar-msg
will tell you the correct command to use.px
and pt
units everyhwere where before only a number of spaces or pixels could be specified. (#2578
, #1651
, #951
)internal/alsa
: Right and middle click settings. (#2566
, #2573
)internal/network
:
%mac%
shows MAC address of selected interface (#2568
, #2569
)%netspeed%
that provides the total speed of the internet (up + down speed) (#2590
, #1083
)speed-unit = B/s
can be used to customize how network speeds are displayed. (#2068
)interface-type
may be used in place of interface
to automatically select a network interface (#2025
, #339
)polybar -c /dev/stdin
. (#2545
)custom/script
:
#1750
, #2505
)internal/memory
: New tokens %used%
, %free%
, %total%
, %swap_total%
, %swap_free%
, and %swap_used%
that automatically switch between MiB and GiB when below or above 1GiB. (#2472
, #2488
)internal/i3
: show-urgent
option to always show urgent windows when pin-workspace
is active (#2374
, #2378
)internal/xworkspaces
:
#2354
, #2361
)#570
, #956
, #1871
, #2141
, #2199
)
internal/battery
: format-low
, label-low
, animation-low
, low-at = 10
.internal/cpu
: format-warn
, label-warn
, warn-percentage = 80
internal/fs
: format-warn
, label-warn
, warn-percentage = 90
internal/memory
: format-warn
, label-warn
, warn-percentage = 90
radius
now affects the bar border as well (#1566
, #2359
)radius-{bottom,top}-{left,right}
(#2294
, #2297
)internal/xkeyboard
:
hidden = false
) (#2108
, #2342
)module_toggle
, module_show
, and module_hide
) (#2108
, #2426
)internal/backlight
: use-actual-brightness
option to use the actual_brightness
file to get the brightness (#2380
)wm-restack = generic
option that lowers polybar to the bottom of the window stack. Fixes the issue where the bar is being drawn on top of fullscreen windows in xmonad. (#2205
, #2404
)internal/bspwm
: occupied-scroll = true
option allows scrolling through occupied desktops only. (#2427
, #2428
)custom/ipc
:
double-click-interval
setting to the bar section to control the time interval in which a double-click is recognized. Defaults to 400 (ms) (#1441
, #2510
)tray-foreground
setting to give hints to tray icons about what color they should be. (#2235
, #2552
)polybar-msg
:
config.ini
when searching for config files. (#2323
, #2324
)XDG_CONFIG_DIRS/polybar/config.ini
(or /etc/xdg/polybar/config.ini
if it is not set) and /etc/polybar/config.ini
for config files. (#2016
, #2511
)#2384
)#2199
)custom/script
: interval
now defaults to 0 if tail = true
as per the documentation. (#2240
)internal/network
: Increased precision for upload and download speeds: 0 decimal places for KB/s (as before), 1 for MB/s and 2 for GB/s. (#2054
)#2510
)#2510
)#2469
, #2517
)#2525
, #2526
)include-directory
and include-file
now support relative paths. The paths are relative to the folder of the file where those directives appear. (#2523
, #2535
)custom/ipc
: Empty output strings are no longer formatted. This prevents extraneous spaces and separators from appearing in the bar when the output of an ipc module is empty. (#2549
)#2021
, #2600
)#1814
, #2601
)polybar -m
used to show both physical outputs and RandR monitors, even if the outputs were covered by monitors. (#2481
, #2485
)}
(#2040
, #2303
)#857
, #1932
, #2559
)custom/script
: Concurrency issues with fast-updating tailed scripts. (#1978
, #2518
)internal/alsa
: Slight imprecision when calculating percentages. This caused the volume reported to be off by one. (#2399
, #2401
)internal/backlight
: With amdgpu backlights, the brightness indicator was slightly behind. (#2367
, #2380
)internal/bspwm
: Warning message regarding T@ (#2371
, #2439
)internal/xkeyboard
: Trailing space after the layout label when indicators are empty and made sure right amount of spacing is added between the indicator labels (#2292
, #2306
)internal/xworkspaces
:
internal/network
: The module now properly supports 'altnames' for interfaces. (#2540
)internal/battery
: More accurate battery state (#2563
, #2556
)#2578
, #1700
)#2578
, #1265
)Published by patrick96 about 3 years ago
polybar-3.5.7.tar.gz (sha256: 73210e6d74217acb953b253990b4302343b7b6a7870fe1da9a1855daa44123db
)
Published by patrick96 over 3 years ago
polybar-3.5.6.tar.gz (sha256: dfe602fc6ac96eac2ae0f5deb2f87e0dd1f81ea5d0f04ad3b3bfd71efd5cc038
)
#2424
)Published by patrick96 over 3 years ago
polybar-3.5.5.tar.gz (sha256: 7e625d3b6f7885587e70200fd81c2a5d3fb03f5649422de8e138747152ca0bb1
)
#2356
)Published by patrick96 almost 4 years ago
polybar-3.5.4.tar.gz (sha256: 133af4e8b29f426595ad3b773948eee27275230887844473853e7940c7959c2b
)
}
(#2331
)Published by patrick96 almost 4 years ago
polybar-3.5.3.tar.gz (sha256: d23fbb9a7b7f1cdd334fe0ba3adc0f9602cfc94aa0827c058584059416792680
)
git
when building documentation (#2309
)Published by patrick96 almost 4 years ago
polybar-3.5.2.tar.gz (sha256: e411d9c091d0d4b5e8fbb44969e45c537d8c45900ecb3e90c49a248b885fe110
)
Legacy action name support was accidentally broken in 3.5.1 (#2296), see #2299
Published by patrick96 almost 4 years ago
polybar-3.5.1.tar.gz (sha256: d342fdb1d37a475f3460e00e82445a3f7be812961fec6e455b33277af3cda719
)
Features
Fixes
custom/menu
: Wrong level numbers in error messages (#2264)internal/xworkspaces
: Ignored certain workspace updates (#2275), see #2272Published by patrick96 almost 4 years ago
polybar-3.5.0.tar.gz (sha256: 8e118859f535f10d3eaf9a3cb6979e967e5443c8967ba23531e21e23e10fc343
)
polybar-3.5.0.tar (sha256: e8c1798c195854852fc7c99703287294123381101b371f171d4aa540aeb17afd
)
"'=;#[](){}:.$\%
man 5 polybar
for a full reference of the new config rules.internal/temperature
: The first and last ramp element are now only used forbase-temperature
and below and warn-temperature
and above respectively.bspwm-desknext
, bspwm-deskprev
, i3-wsnext
, and i3-wsprev
reverse-scroll
setting in the bspwm or i3next
will always go to the right and prev
willreverse-scroll
set to true
(this is theDeprecations
[settings]
: throttle-input-for
has been removed. It wasn't a useful option
and could cause certain actions (e.g. click commands) to be ignored. (#2117)
All action names used by modules to handle click and scroll events are
deprecated (#1907). This change mainly affects users of the menu module.
Please read the documentation for instructions on how to migrate.
New Config Options
The include-directory
key can be used the same as include-file
and includes
all regular files in the given directory.
In labels:
label-NAME-minlen
, label-NAME-alignment
can be used to pad labels withleft
), left (alignment set toright
), and both sides (alignment set to center
).In internal/backlight
:
enable-scroll
enables changing the brightness through scrolling.In internal/github
:
format-offline
is used when the module cannot connect to the server.label-offline
can be used in format-offline
.api-url
can be used to connect to a custom github enterprise instanceIn internal/pulseaudio
:
click-right
and click-middle
can be used to execute commands when%decibels%
token can be used in label-volume
and label-muted
to show theChanges To The Build System
Features
-M
/ --list-all-monitors
.notice
.include-directory
key (#2196), see #1946-minlen
and -alignment
properties for labels. (#1546)seperator
key in the bar section a label. (#1918)custom/menu
: Multiple menu modules per bar (#1907)internal/backlight
: Support for changing the brightness through scrolling.internal/github
:
format-offline
for when the module cannot connect to the server (#1825),internal/network
: Support Gbit/s
for %linkspeed%
token. (#2055)internal/pulseaudio
:
click-right
and click-middle
keys (#1941)%decibels%
token (#1894), see #1886internal/xworkspaces
: Proper implementation for label-occupied
. (#822),Fixes
--config
was used). (#2026), see #2016fuzzy-match
chose first match, even if exact match was available.custom/menu
: Spacing issue (#1656)internal/alsa
: Volume didn't go over 100% (#2184), see #2173internal/backlight
: Use amdgpu workaround for all devices starting withamdgpu_bl
. (#2122)internal/battery
: Battery not marked as full if over full-at
percent.internal/cpu
: More accurate cpu load calculation. (#1955)internal/github
: Outdated GitHub API authentication. (#2029), see #2002internal/memory
: Use the correct size prefixes (#2211), see #2023internal/network
:
internal/temperature
:
format-warn
was not used if the temperature was exactlywarn-temperature
. (#1897)internal/xworkspaces
:
Published by patrick96 over 4 years ago
polybar-3.4.3.tar (sha256: d4ed121c1d3960493f8268f966d65a94d94c4646a4abb131687e37b63616822f
)
Fixes
GCC 10 Compilation (#2098), see #2097
Published by patrick96 almost 5 years ago
polybar-3.4.2.tar (sha256: 4d22c977969a561f561fdc7a609073854d8fea8a9eec6941e12a80457edcb63a
)
Fixes
internal/i3
(and maybe others): Workspace icon map misbehaves for empty icon (#1893), see #1881custom/ipc
: Clear content if hook produces no output. (#1951)Published by patrick96 almost 5 years ago
polybar-3.4.1.tar (sha256: 9e37fa48a1027881f14546f2b4f6ace4c91d09a20a293685f845da9cbaedc4eb
)
Dependencies
We dropped python2
as a dependency, just in time for its EOL. Now the only python dependency is python3
(#1908).
Fixes
internal/backlight
: Use correct brightness file for amdgpu_bl0
(#1900), see #1870, Alexays/Waybar#335Published by patrick96 about 5 years ago
polybar-3.4.0.tar (sha256: 69a098f22d7a72eb594030aff687801252b18520b097c12f5c7894a99c4bcd1b
)
internal/memory
module all of the megabyte values no longer have decimal places (#1606).New Dependencies
This build adds sphinx as a new build dependency. See the Wiki for more information.
New Config Options
The following config options were added:
In the [bar/*]
section:
monitor-exact
, use exact name matching for monitors otherwise ignore dashes.In formats:
format-NAME-font
to set the font for that format (same as label-NAME-font
)In internal/bspwm
:
label-marked
for the new marked
node flag introduced in baskerville/bspwm@d0138afIn internal/xkeyboard
:
label-indicator-(on|off)
is used once for every indicator (caps lock, etc.), supports %name%
and %icon%
label-indicator-(on|off)-(capslock|numlock|scrolllock)
overwrites label-indicator-(on|off)
for the given indicatorlayout-icon-*
is a list that maps layout names to icons to be used with the %icon%
token in label-layout
indicator-icon-*
is a list that maps indicator names to icons to be used with the %icon%
token in label-indicator-*
In internal/temperature
:
base-temperature
is the counterpart to warn-temperature
and controls the lower bound for the ramp.Deprecations
label-indicator
is deprecated in favor of the new label-indicator-on
Features
border-size
now supports the same mixed percentage/pixel sizes as width
and height
(#1592), see #1567marked
node flag. (#1557), see #1552-font
property just as labels (#1602), see #19base-temperature
instead of 0°C (#1706), see #1703%percentage_raw%
token that displays the real percentage regardless of full-at
(#1756), see #1753Fixes
N/A
when no IPv4 address can be found (#1597)_NET_DESKTOP_NAMES
(#1713), see #1710interval
would go over the max. (#1765)size
or pixelsize
property is 0 (#1646)Published by patrick96 over 5 years ago
polybar-3.3.1.tar (sha256: b0982a729f99f658d77969fd582d074843a57982b5e7c6b2b6efee5480b2a81c
)
Fixes
internal/xworkspaces
:
_NET_DESKTOP_NAMES
(#1576), see #1462internal/i3
: Crash when <label-state>
was not added to format
(#1591), see #975internal/fs
: Incorrect sizes on some machines (#1612, #1699), see #743internal/network
: Buffer overflow with ipv6 addresses (#1514)tray-offset-*
(#1571)tray-offset-*
(#1669), see #1666-DBUILD_SHARED_LIBS=ON
(#1647, jaagr/xpp#15), see #1628SIGUSR1
too fast (#1678), #428Published by patrick96 almost 6 years ago
polybar-3.3.0.tar (sha256: 647dde8fbf6690138b354bf538d1d97ba8c1743ff22314af4ee085e06a1f506a
)
tray-transparent = true
may not be transparent anymore, see #1563:tray-transparent
is deprecated, the tray transparency is defined via the alpha channel in the tray-background
color. If for example tray-background = #111111
, older versions would render a fully transparent tray while version 3.3.0 will render a fully opaque tray with background color #111111
. To get back the fully transparent tray, add an alpha channel to the background, in our example above, we would set tray-background = #00111111
.New Config Options
The following config options were added
In the [settings]
section:
pseudo-transparency
In internal/cpu
:
ramp-coreload-spacing
, spacing between elements in <ramp-coreload>
elements%percentage-sum%
in label
. Shows sum of all percentagesIn custom/script
:
double-click-left
double-click-middle
double-click-right
In internal/pulseaudio
:
interval
, volume increase and decrease steps in percentage pointsIn internal/memory
:
bar-swap-used
bar-swap-free
ramp-swap-used
ramp-swap-free
Deprecations
tray-transparent
in the bar section is no longer used. The tray now always uses pseudo-transparencyFeatures
0
(#1341), see #1332Fixes
%counter%
or %pid%
token usable, never both (#1456)