New
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 https://github.com/polybar/polybar/pull/2604
- @ishaanbhimwal made their first contribution in https://github.com/polybar/polybar/pull/2638
- @itsfarseen made their first contribution in https://github.com/polybar/polybar/pull/2664
- @raffael0 made their first contribution in https://github.com/polybar/polybar/pull/2595
- @Zaphoood made their first contribution in https://github.com/polybar/polybar/pull/2695
- @marxlaml made their first contribution in https://github.com/polybar/polybar/pull/2700
- @inglor made their first contribution in https://github.com/polybar/polybar/pull/2717
- @franklintimoteo made their first contribution in https://github.com/polybar/polybar/pull/2732
- @zjeffer made their first contribution in https://github.com/polybar/polybar/pull/2759
- @quantenzitrone made their first contribution in https://github.com/polybar/polybar/pull/2784
- @xphoniex made their first contribution in https://github.com/polybar/polybar/pull/2752
- @VanillaViking made their first contribution in https://github.com/polybar/polybar/pull/2801
- @ron0studios made their first contribution in https://github.com/polybar/polybar/pull/2831
- @tnixeu made their first contribution in https://github.com/polybar/polybar/pull/2851
- @anhnamtran made their first contribution in https://github.com/polybar/polybar/pull/2973
- @slotThe made their first contribution in https://github.com/polybar/polybar/pull/2926
Full Changelog: https://github.com/polybar/polybar/compare/3.6.0...3.7.0