* Allow tokio on gtk thread * Basic notifier host implementation * Implement systray widget * Use dbusmenu-gtk3 * Update flake.nix * US spelling of license * Fix possible TOCTOU * Change how hosts are started * Add watcher * Bunch of refactor * Handle errors better * Refactor service parsing * Avoid duplicate dbus connections * Fix watcher producing bad items * Handle zbus::Error::NameTaken * Refactor icon loading & don't panic on zoom * Implement pixbuf icons Co-authored-by: Bojan Nemčić <bnemcic@gmail.com> * Don't panic on icon/menu error * Improve icon error handling to make discord work * Update comments * Big refactor into actor model * Reword error messages * Remove redundant watcher_on function * Big icon handling refactor * Don't unnecessarily wrap StatusNotifierItem * cargo fmt * Documentation * Avoid registering to StatusNotifierWatcher multiple times * None theme means default theme * Add dbus logging * Add libdbusmenu-gtk3 dependency to docs * Some code tidying * Make Item more clearer * Make clippy happy * Systray widget improvements * Remove unwraps from dbus state * Temporarily add libdbusmenu-gtk3 to flake buildInputs * Fix blurry tray icon for HiDPI display * feat: dynamic icons * fix: don't cache IconPixmap property this fixes dynamic icons for some icons, e.g. syncthingtray * fixup! feat: dynamic icons * Fix unused borrow warning * Add some documentation to notifier_host * Rename notifier_host::dbus to more descriptive notifier_host::proxy * fixup! Rename notifier_host::dbus to more descriptive notifier_host::proxy * fixup! Merge remote-tracking branch 'upstream/master' into tray-3 * fixup! Merge remote-tracking branch 'upstream/master' into tray-3 * Remove commented out fields of DBusSession * Refactor host * Remove git conflict marker * Various improvements * Icon documentation * cargo fmt * Add dependency to CI --------- Co-authored-by: Bojan Nemčić <bnemcic@gmail.com> Co-authored-by: MoetaYuko <loli@yuko.moe> Co-authored-by: hylo <hylo@posteo.de>
4.8 KiB
4.8 KiB
Changelog
All notable changes to eww will be listed here, starting at changes since version 0.2.0.
Unreleased
Fixes
- The
shell-completionssubcommand is now run before anything is set up - Fix nix flake
- Fix
jq(By: w-lfchen)
Features
- Add
systraywidget (By: ralismark)
[0.5.0] (17.02.2024)
BREAKING CHANGES
- Remove
eww windowscommand, replace witheww active-windowsandeww list-windows
Features
- 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
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
Fixes
- Fix wrong values in
EWW_NET - Fix logfiles growing indefinitely
[0.4.0] (04.09.2022)
BREAKING CHANGES
- Change
calendar-widget to index months starting at 1 rather than indexed from 0
Features
- 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)
Notable fixes and other changes
- 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
0.3.0 (26.05.2022)
BREAKING CHANGES
- 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}.
Features
- 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)
Notable Internal changes
- Rework state management completely, now making local state and dynamic widget hierarchy changes possible.
Notable fixes and other changes
- 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