Releases: polybar/polybar
3.7.2
Download
polybar-3.7.2.tar.gz (sha256: e2feacbd02e7c94baed7f50b13bcbf307d95df0325c3ecae443289ba5b56af29)
Changelog
Fixed
custom/script: When a script withtail = truereceived multiple lines quickly, only the first would get displayed (#3117,#3119) by @Isak05- Token min-length calculations would behave differently when non-ASCII characters appear in the token (
#3074,#3087) by @nklloyd - i3: Fix duplicated rendering for non-full-width bars (
#3091,#3060) internal/backlight: Module could display the literal%percentage%token if the backlight reports a value of 0 at startup (#3081) by @unclechuinternal/tray: Fix crash during restarting, when tray icons were not removed proberly (#3111,#3112)custom/ipc: Module would display the literal%output%token before the initial hook finished executing (#3131,#3140)- renderer: Pseudo-transparency rendering artifacts when wallpaper does not fill entire screen (
#3096,#3041)
New Contributors
Full Changelog: 3.7.1...3.7.2
3.7.1
Download
polybar-3.7.1.tar.gz (sha256: 5de6ad385ba09dc453a4e5ec7054749a4882b5b21a62c17ae40bf7c90613ff0f)
Changelog
Build
- Fixed missing header when using
libc++in clang 15 and below
Changed
internal/tray: The module must use the<tray>tag (this is the default) (#3037)
Fixed
- Modules did not validate that all tags (e.g.
<label>) used in a format were valid for that format (#3043,#3045) internal/tray: Fixedmodule-marginandseparatorbeing applied to completely empty tray module (#3036,#3037)
Full Changelog: 3.7.0...3.7.1
3.7.0
Download
polybar-3.7.0.tar.gz (sha256: b8e07aca94a013341b7d47ee548afe84f519113f202300565d4852885a11e91d)
Changelog
Breaking
custom/script:- No longer hides the module if the
execcommand failed and did not change the output from the previous run (#2636). Somewhat similar original behaviour can be imitated withformat-fail, if necessary. - If the
execcommand 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)
- No longer hides the module if the
Build
- Respect
CMAKE_INSTALL_PREFIXwhen installing default config (#2770,#2917) - Change default
CMAKE_INSTALL_PREFIXto/usr. Installations with default flags will now go into/usrinstead of/usr/local(#2917) - Bump C++ version to C++17 (
#2847)
Deprecated
custom/text: Thecontentsetting and all its properties are deprecated in favor offormatwith the same functionality. (#2676)- tray: All tray-related settings in the bar section are deprecated. They are replaced by the new tray module (
#3002)tray-position,tray-detached,tray-maxsize,tray-scale,tray-transparent,tray-background,tray-foreground,tray-padding,tray-offset-x,tray-offset-y
Added
- A tray module with type
internal/trayfor positioning the tray like a module (#2689) internal/temperature:%temperature-k%token displays the temperature in degrees Kelvin (#2774,#2784)internal/pulseaudio:reverse-scrolloption (#2664)custom/script: Repeat interval for script failure (interval-fail) andexec-if(interval-if) (#943,#2606,#2630)custom/ipc:- Added support for
<label>informat(#2841) by @madhavpcm. - Added support for
format-ifor each definedhook-i(#2775,#2810) by @madhavpcm.
- Added support for
custom/text: Loads theformatsetting, which supports the<label>tag, if the deprecatedcontentis not defined (#1331,#2673,#2676)internal/backlight:internal/temperature: Addedzone-typesetting (#2572,#2752) by @xphoniexinternal/xwindow:%class%and%instance%tokens, which show the contents of theWM_CLASSproperty of the active window (#2830)- Added
enable-strutsoption in bar section to enable/disable struts (#2769,#2844) by @VanillaViking. wm-restack:internal/xworkspaces:group-by-monitorsetting to decide whether_NET_DESKTOP_VIEWPORTshould be used to group workspaces by monitor; (#2603,#2926) by @slotThe.
Changed
custom/script:- No longer produces a completely empty module if the
execcommand failed. It only produces an empty module if the script had a zero exit code. (#2857,#2861) - Bumped the script polling interval (not related to the
intervalsetting) to decrease wakeups. Polybar may take slightly longer to shut down.#2879
- No longer produces a completely empty module if the
internal/fs: Use/as a fallback if no mountpoints are specified (#2572,#2705)internal/backlight:- Providing a negative min-width to a token adds right-padding (
#2789,#2801) by @VanillaViking. - Changed fuzzy match option on i3 and bspwm modules to find longest match instead of the first match (
#2831,#2829) by @Ron0Studios. wm-restack
Fixed
- Waiting for double click interval on modules that don't have a double click action (
#2663,#2695) - renderer:
- config:
internal/xwindow: module does not crash when a tag is not provided in format (#2826,#2833) by @VanillaVikinginternal/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)
New Contributors
- @calculon102 made their first contribution in #2604
- @ishaanbhimwal made their first contribution in #2638
- @itsfarseen made their first contribution in #2664
- @raffael0 made their first contribution in #2595
- @Zaphoood made their first contribution in #2695
- @marxlaml made their first contribution in #2700
- @inglor made their first contribution in #2717
- @franklintimoteo made their first contribution in #2732
- @zjeffer made their first contribution in #2759
- @quantenzitrone made their first contribution in #2784
- @xphoniex made th...
3.6.3
Download:
polybar-3.6.3.tar.gz (sha256: f25758573567208fc7b6f4d4115a6117a87389cbcc094cf605d079775be95fa5)
Changelog
Fixed
custom/script: Output clearing whenexec-iffails (#2674)internal/battery:poll-intervalnot working (#2649,#2677)- ipc: Polybar failing to open IPC channel after another user already ran polybar, if
XDG_RUNTIME_DIRis not set (#2683,#2684) - No overlines/underlines being drawn when using offsets (
#2685) - Update struts (
_NET_WM_STRUT_PARTIAL) when hiding the bar (#2702) internal/pulseaudio: Hanging during startup (#2707,#2709)internal/xworkspaces: Updates of_NET_DESKTOP_VIEWPORTbeing ignored (#2693,#2698)
Full Changelog: 3.6.2...3.6.3
3.6.2
Download:
polybar-3.6.2.tar.gz (sha256: 73becc942e7d2418bc72bd194f2037a2a86792219fd561b663a8509fd5f547a0)
Changelog
Fixed
format-offsetbeing ignored (#2643)- Negative struts (
margin-bottom,margin-top) being ignored (#2642,#2644) - Positioning in awesomeWM (
#2651) internal/xworkspaces: The module sometimes crashed polybar when windows were closed. (#2655)- Mouseover error when only one cursor is defined (
#2656) custom/script: Timing inconsistencies (#2650, first described at#2630)
Full Changelog: 3.6.1...3.6.2
3.6.1
Download:
polybar-3.6.1.tar.gz (sha256: a898ba8c847895be41efe5a31bb1b839da2c10b130b8411d5016982fbaadff7b)
Changelog
Build
- Fixed compiler warning in Clang 13 (
#2613) - Fixed compiler error in GCC 12 (
#2616,#2614) - Fixed installation of docs when some are not generated (man, html...) (
#2612) - Fix
LDFLAGSnot being respected (#2619)
Fixed
tray-offset-x,tray-offset-y,offset-x, andoffset-ywere mistakenly capped below at 0 (#2620)custom/script: Polybar shutdown being stalled by hanging script (#2621)polybar-msg: Wrong hint when using deprecatedhook(#2624)
New Contributors
- @nathanaelhoun made their first contribution in #2624
Full Changelog: 3.6.0...3.6.1
3.6.0
Download:
polybar-3.6.0.tar.gz (sha256: 563473d5ae2b83d4dba6372f85cbcfd8d5a271b4cf3345ff57acff9c81e1b065)
Changelog
Breaking
- We added the backslash escape character (\) for configuration values. This means that the literal backslash character now has special meaning in configuration files, therefore if you want to use it in a value as a literal backslash, you need to escape it with the backslash escape character. The parser logs an error if any unescaped backslashes are found in a value. This affects you only if you are using two consecutive backslashes in a config value, which will now be interpreted as a single literal backslash. (
#2354) - We rewrote our formatting tag parser. This shouldn't break anything, if you experience any problems, please let us know. The new parser now gives errors for certain invalid tags where the old parser would just silently ignore them. Adding extra text to the end of a valid tag now produces an error. For example, tags like
%{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). - For security reasons, the named pipe at
/tmp/polybar_mqueue.<PID>had its permission bits changed from666to600to prevent sending ipc messages to polybar processes running under a different user. - Also for security reasons, the
polybar-msgcommand will now only send messages to polybar processes running under the same user. See the IPC documentation for what exactly this means.
Build
- New dependency: libuv. At least version 1.3 is required.
- Bump the minimum cmake version to 3.5
- The
BUILD_IPC_MSGoption has been renamed toBUILD_POLYBAR_MSG - Building the documentation is now enabled by default and not just when
sphinx-buildis found. - Users can control exactly which targets should be available with the following cmake options (together with their default value):
BUILD_POLYBAR=ON- Builds thepolybarexecutableBUILD_POLYBAR_MSG=ON- Builds thepolybar-msgexecutableBUILD_TESTS=OFF- Builds the test suiteBUILD_DOC=ON- Builds the documentationBUILD_DOC_HTML=BUILD_DOC- Builds the html documentation (depends onBUILD_DOC)BUILD_DOC_MAN=BUILD_DOC- Builds the manpages (depends onBUILD_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.
- The documentation can no longer be built by directly configuring the
docdirectory. - The
POLYBAR_FLAGScmake variable can be used to pass extra C++ compiler flags. - The sample config file has been removed.
- Polybar now ships a default config that is installed to
/etc/polybar/config.ini, it lives indoc/config.ini. It will also be placed in theexamplesdirectory in the documentation folder. (#2405) - The
userconfigtarget has been removed, you can no longer usemake userconfig. As an alternative, you can copy the default config from/etc/polybar/config.ini. - The
DEBUG_SHADEDcmake variable and its associated functionality has been removed.
Deprecated
[settings]:throttle-outputandthrottle-output-forhave 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.- When not specifying the config file with
--config, naming your config fileconfigis deprecated. Rename your config file toconfig.ini. - Directly writing ipc messages to
/tmp/polybar_mqueue.<PID>is deprecated, users should always usepolybar-msg. As a consequence the message format used for IPC is deprecated as well. polybar-msg hookis deprecated in favor of using the hook action.polybar-msgwill tell you the correct command to use.
Added
- Support
pxandptunits 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:- New token
%mac%shows MAC address of selected interface (#2568,#2569) - New token
%netspeed%that provides the total speed of the internet (up + down speed) (#2590,#1083) speed-unit = B/scan be used to customize how network speeds are displayed. (#2068)interface-typemay be used in place ofinterfaceto automatically select a network interface (#2025,#339)
- New token
- Polybar can now read config files from stdin:
polybar -c /dev/stdin. (#2545) custom/script:- Support for ramp weights. (
#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-urgentoption to always show urgent windows whenpin-workspaceis active (#2374,#2378)internal/xworkspaces:- Initial support for the backslash escape character (\) in configs. (
#2354,#2361) - Warn states for the cpu, memory, fs, and battery modules. (
#570,#956,#1871,#2141,#2199)internal/battery:format-low,label-low,animation-low,low-at = 10.internal/cpu:format-warn,label-warn,warn-percentage = 80internal/fs:format-warn,label-warn,warn-percentage = 90internal/memory:format-warn,label-warn,warn-percentage = 90
radiusnow affects the bar border as well (#1566,#2359)- Per-corner radius with
radius-{bottom,top}-{left,right}(#2294,#2297) internal/xkeyboard:- Config option to hide a certain module (
hidden = false) (#2108,#2342) - Actions to control visibility of modules (
module_toggle,module_show, andmodule_hide) (#2108,#2426) internal/backlight:use-actual-brightnessoption to use theactual_brightnessfile to get the brightness (#2380)wm-restack = genericoption 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 = trueoption allows scrolling through occupied desktops only. (#2427,#2428)custom/ipc:
3.5.7
Download:
polybar-3.5.7.tar.gz (sha256: 73210e6d74217acb953b253990b4302343b7b6a7870fe1da9a1855daa44123db)