All notable changes to eww will be listed here, starting at changes since version 0.2.0.
- #1176 changed safe access (
?.) behavior: Attempting to index in an empty JSON string ('""') is now an error.
- Fix crash on invalid
formattimeformat string (By: luca3s) - Fix crash on NaN or infinite graph value (By: luca3s)
- Re-enable some scss features (By: w-lfchen)
- Fix and refactor nix flake (By: w-lfchen)
- Fix remove items from systray (By: vnva)
- Fix the gtk
stackwidget (By: ovalkonia) - Fix values in the
EWW_NETvariable (By: mario-kr) - Fix the gtk
expanderwidget (By: ovalkonia) - Fix wayland monitor names support (By: dragonnn)
- Load systray items that are registered without a path (By: Kage-Yami)
get_localenow follows POSIX standard for locale selection (By: mirhahn, w-lfchen)- Improve multi-monitor handling under wayland (By: bkueng)
- Add warning and docs for incompatible
:anchorand:exclusiveoptions - Add
eww pollsubcommand to force-poll a variable (By: kiana-S) - Add OnDemand support for focusable on wayland (By: GallowsDove)
- Add jq
raw-outputsupport (By: RomanHargrave) - Update rust toolchain to 1.81.0 (By: w-lfchen)
- Add
:fill-svgand:preserve-aspect-ratioproperties to images (By: hypernova7, w-lfchen) - Add
:truncateproperty to labels, disabled by default (except in cases where truncation would be enabled in version0.5.0and before) (By: Rayzeq). - Add support for
:hovercss selectors for tray items (By: zeapoz) - Add scss support for the
:stylewidget property (By: ovalkonia) - Add
minandmaxfunction calls to simplexpr (By: ovalkonia) - Add
flip-x,flip-y,verticaloptions to the graph widget to determine its direction - Add
transform-origin-x/transform-origin-yproperties to transform widget (By: mario-kr) - Add keyboard support for button presses (By: julianschuler)
- Support empty string for safe access operator (By: ModProg)
- Add
logfunction calls to simplexpr (By: topongo) - Add
:linesand:wrap-modeproperties to label widget (By: vaporii) - Add
value-posto scale widget (By: ipsvn) - Add
floorandceilfunction calls to simplexpr (By: wsbankenstein) - Add
formatbytesfunction calls to simplexpr (By: topongo)
- The
shell-completionssubcommand is now run before anything is set up - Fix nix flake
- Fix
jq(By: w-lfchen) - Labels now use gtk's truncation system (By: Rayzeq).
- Add
systraywidget (By: ralismark) - Add
:checkedproperty to checkbox (By: levnikmyskin)
- Remove
eww windowscommand, replace witheww active-windowsandeww list-windows
- Add
:iconand:icon-sizeto the image widget (By: Adrian Perez de Castro) - Add
get_envfunction (By: RegenJacob) - Add
:namespacewindow option - Default to building with x11 and wayland support simultaneously
- Add
truncate-leftproperty onlabelwidgets (By: kawaki-san) - Add
gravityproperty onlabelwidgets (By: Elekrisk) - Add support for safe access (
?.) in simplexpr (By: oldwomanjosiah) - Allow floating-point numbers in percentages for window-geometry
- Add support for safe access with index (
?.[n]) (By: ModProg) - Made
and,orand?:lazily evaluated in simplexpr (By: ModProg) - Add Vanilla CSS support (By: Ezequiel Ramis)
- Add
jqfunction, offering jq-style json processing - Add support for the
EWW_BATTERYmagic variable in FreeBSD, OpenBSD, and NetBSD (By: dangerdyke) - Add
justifyproperty to the label widget, allowing text justification (By: n3oney) - Add
EWW_TIMEmagic variable (By: Erenoit) - Add trigonometric functions (
sin,cos,tan,cot) and degree/radian conversions (degtorad,radtodeg) (By: end-4) - Add
substringfunction to simplexpr - Add
--durationflag toeww open - Add support for referring to monitor with
<primary> - Add support for multiple matchers in
monitorfield - Add
stackwidget (By: vladaviedov) - Add
unindentproperty to the label widget, allowing to disable removal of leading spaces (By: nrv) - Switch to stable rust toolchain (1.76)
- Add
tooltipwidget, which allows setting a custom tooltip (not only text), to a widget (By: Rayzeq) - Add
eww shell-completionscommand, generating completion scripts for different shells
- Fix wrong values in
EWW_NET - Fix logfiles growing indefinitely
- Change
calendar-widget to index months starting at 1 rather than indexed from 0
- Add support for output names in X11 to select
:monitor. - Add support for
:active-pseudoselector on eventbox (By: viandoxdev) - Add support for
:passwordon input (By: viandoxdev)
- Scale now only runs the onchange command on changes caused by user-interaction
- Improve CSS error reporting
- Fix deflisten scripts not always getting cleaned up properly
- Add
:round-digitsto scale widget (By: gavynriebau) - Fix cirular-progress not properly displaying 100% values when clockwise is false
- Fix temperatures inside
EWW_TEMPSnot being accessible if at least one value isNaN
- Change the onclick command API to support multiple placeholders.
This changes. the behaviour of the calendar widget's onclick as well as the onhover and onhoverlost
events. Instead of providing the entire date (or, respecively, the x and y mouse coordinates) in
a single value (
day.month.year,x y), the values are now provided as separate placeholders. The day can now be accessed with{0}, the month with{1}, and the year with{2}, and similarly x and y are accessed with{0}and{1}.
- Add
eww inspectorcommand - Add
--no-daemonizeflag - Add support for displaying marks on
scale-widget (By: druskus20) - Add
children-widget that allows custom widgets to make use of children - Add support for
:hovercss selectors for eventbox (By: druskus20) - Add
eww getsubcommand (By: druskus20) - Add circular progress widget (By: druskus20)
- Add
:xalignand:yalignto labels (By: alecsferra) - Add
graphwidget (By: druskus20) - Add
>=and<=operators to simplexpr (By: viandoxdev) - Add
desktopwindow type (By: Alvaro Lopez) - Add
scrollwidget (By: viandoxdev) - Add
notificationwindow type - Add drag and drop functionality to eventbox
- Add
search,captures,stringlength,arraylengthandobjectlengthfunctions for expressions (By: MartinJM, ElKowar) - Add
matchesfunction - Add
transformwidget (By: druskus20) - Add
:onacceptto input field, add:onclickto eventbox - Add
EWW_CMD,EWW_CONFIG_DIR,EWW_EXECUTABLEmagic variables - Add
overlaywidget (By: viandoxdev) - Add arguments option to
defwindow(By: WilfSilver)
- Rework state management completely, now making local state and dynamic widget hierarchy changes possible.
- Fix
onscrollgtk-bug where the first event is emitted incorrectly (By: druskus20) - Allow windows to get moved when windowtype is
normal - Added more examples
- List system-level dependencies in documentation
- Document structure of magic variables (By: legendofmiracles)
- Updated dependencies