2021-11-15 23:30:34 +03:00
# Changelog
2022-05-26 15:00:57 +03:00
All notable changes to eww will be listed here, starting at changes since version 0.2.0.
2021-11-15 23:30:34 +03:00
2024-02-17 20:21:02 +03:00
## Unreleased
2021-11-15 23:30:34 +03:00
2024-04-21 23:09:14 +03:00
### Fixes
- Fix and refactor nix flake (By: w-lfchen)
2024-04-26 09:59:23 +03:00
### Features
- Add `:truncate` property to labels, disabled by default (except in cases where truncation would be enabled in version `0.5.0` and before) (By: Rayzeq).
2024-05-05 13:14:44 +03:00
- Add support for `:hover` css selectors for tray items (By: zeapoz)
2024-04-26 09:59:23 +03:00
2024-04-21 15:20:30 +03:00
## [0.6.0] (21.04.2024)
2024-02-21 00:42:09 +03:00
### Fixes
- The `shell-completions` subcommand is now run before anything is set up
2024-02-24 15:46:40 +03:00
- Fix nix flake
2024-03-16 15:33:12 +03:00
- Fix `jq` (By: w-lfchen)
2024-04-14 17:57:58 +03:00
- Labels now use gtk's truncation system (By: Rayzeq).
2024-02-21 00:42:09 +03:00
2024-03-30 12:55:01 +03:00
### Features
- Add `systray` widget (By: ralismark)
2024-04-06 14:11:59 +03:00
- Add `:checked` property to checkbox (By: levnikmyskin)
2024-03-30 12:55:01 +03:00
2024-02-17 20:21:02 +03:00
## [0.5.0] (17.02.2024)
2021-11-15 23:30:34 +03:00
2023-12-20 23:04:38 +03:00
### BREAKING CHANGES
- Remove `eww windows` command, replace with `eww active-windows` and `eww list-windows`
2022-10-01 18:03:54 +03:00
### Features
2023-10-21 23:17:51 +03:00
- Add `:icon` and `:icon-size` to the image widget (By: Adrian Perez de Castro)
2024-03-20 14:45:08 +03:00
- Add `get_env` function (By: RegenJacob)
2023-03-26 13:26:49 +03:00
- Add `:namespace` window option
2023-03-26 13:09:03 +03:00
- Default to building with x11 and wayland support simultaneously
2023-03-26 11:25:24 +03:00
- Add `truncate-left` property on `label` widgets (By: kawaki-san)
2024-02-17 12:42:29 +03:00
- Add `gravity` property on `label` widgets (By: Elekrisk)
2022-10-01 18:03:54 +03:00
- Add support for safe access (`?.`) in simplexpr (By: oldwomanjosiah)
2022-10-24 20:08:50 +03:00
- Allow floating-point numbers in percentages for window-geometry
2023-01-05 22:21:29 +03:00
- Add support for safe access with index (`?.[n]`) (By: ModProg)
2023-01-05 22:00:40 +03:00
- Made `and` , `or` and `?:` lazily evaluated in simplexpr (By: ModProg)
2023-02-25 12:35:35 +03:00
- Add Vanilla CSS support (By: Ezequiel Ramis)
2023-02-25 18:27:32 +03:00
- Add `jq` function, offering jq-style json processing
2023-03-08 01:38:08 +03:00
- Add `justify` property to the label widget, allowing text justification (By: n3oney)
2023-06-09 18:17:41 +03:00
- Add `EWW_TIME` magic variable (By: Erenoit)
2023-08-16 14:40:24 +03:00
- Add trigonometric functions (`sin`, `cos` , `tan` , `cot` ) and degree/radian conversions (`degtorad`, `radtodeg` ) (By: end-4)
2023-08-16 17:24:04 +03:00
- Add `substring` function to simplexpr
2023-08-18 16:51:42 +03:00
- Add `--duration` flag to `eww open`
2023-12-20 18:59:39 +03:00
- Add support for referring to monitor with `<primary>`
- Add support for multiple matchers in `monitor` field
2024-02-17 12:38:06 +03:00
- Add `stack` widget (By: vladaviedov)
2024-02-17 14:15:05 +03:00
- Add `unindent` property to the label widget, allowing to disable removal of leading spaces (By: nrv)
2024-02-17 15:09:17 +03:00
- Switch to stable rust toolchain (1.76)
2024-01-17 13:20:47 +03:00
- Add `tooltip` widget, which allows setting a custom tooltip (not only text), to a widget (By: Rayzeq)
2024-02-17 19:03:55 +03:00
- Add `eww shell-completions` command, generating completion scripts for different shells
2022-10-01 18:03:54 +03:00
2024-02-17 19:34:58 +03:00
### Fixes
2024-02-17 20:03:35 +03:00
- Fix wrong values in `EWW_NET`
- Fix logfiles growing indefinitely
2024-02-17 19:34:58 +03:00
2022-09-04 21:20:13 +03:00
## [0.4.0] (04.09.2022)
2022-09-03 11:16:01 +03:00
### BREAKING CHANGES
- Change `calendar` -widget to index months starting at 1 rather than indexed from 0
2022-08-29 12:20:36 +03:00
### Features
- Add support for output names in X11 to select `:monitor` .
2022-09-04 21:20:13 +03:00
- Add support for `:active` -pseudoselector on eventbox (By: viandoxdev)
- Add support for `:password` on input (By: viandoxdev)
2022-08-29 12:20:36 +03:00
2022-08-29 13:43:01 +03:00
### Notable fixes and other changes
- Scale now only runs the onchange command on changes caused by user-interaction
2022-09-04 21:20:13 +03:00
- Improve CSS error reporting
- Fix deflisten scripts not always getting cleaned up properly
- Add `:round-digits` to scale widget (By: gavynriebau)
- Fix cirular-progress not properly displaying 100% values when clockwise is false
2023-01-05 22:16:47 +03:00
- Fix temperatures inside `EWW_TEMPS` not being accessible if at least one value is `NaN`
2022-08-29 13:43:01 +03:00
2022-08-29 12:20:36 +03:00
2022-05-26 15:00:57 +03:00
## 0.3.0 (26.05.2022)
2022-04-19 14:00:50 +03:00
### 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}` .
2021-11-15 23:30:34 +03:00
### Features
- Add `eww inspector` command
- Add `--no-daemonize` flag
- 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 `:hover` css selectors for eventbox (By: druskus20)
- Add `eww get` subcommand (By: druskus20)
- Add circular progress widget (By: druskus20)
2022-04-29 15:06:20 +03:00
- Add `:xalign` and `:yalign` to labels (By: alecsferra)
2022-05-26 15:00:57 +03:00
- Add `graph` widget (By: druskus20)
2022-04-13 16:10:40 +03:00
- Add `>=` and `<=` operators to simplexpr (By: viandoxdev)
2022-04-13 15:22:08 +03:00
- Add `desktop` window type (By: Alvaro Lopez)
2022-04-13 16:10:40 +03:00
- Add `scroll` widget (By: viandoxdev)
2022-04-13 16:32:26 +03:00
- Add `notification` window type
2022-04-19 14:00:50 +03:00
- Add drag and drop functionality to eventbox
2022-04-19 14:29:17 +03:00
- Add `search` , `captures` , `stringlength` , `arraylength` and `objectlength` functions for expressions (By: MartinJM, ElKowar)
2022-04-19 14:49:12 +03:00
- Add `matches` function
2022-05-26 15:00:57 +03:00
- Add `transform` widget (By: druskus20)
2022-04-29 11:52:25 +03:00
- Add `:onaccept` to input field, add `:onclick` to eventbox
2022-05-21 16:06:42 +03:00
- Add `EWW_CMD` , `EWW_CONFIG_DIR` , `EWW_EXECUTABLE` magic variables
2022-05-26 14:40:09 +03:00
- Add `overlay` widget (By: viandoxdev)
2023-12-20 23:04:38 +03:00
- Add arguments option to `defwindow` (By: WilfSilver)
2021-11-15 23:30:34 +03:00
### Notable Internal changes
- Rework state management completely, now making local state and dynamic widget hierarchy changes possible.
### Notable fixes and other changes
- Fix `onscroll` gtk-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)
2022-07-27 19:25:08 +03:00
- Updated dependencies