Peter Crawley
59e8e02f15
Remove broken newline and mention zfs ( #685 )
2023-02-25 10:25:55 +01:00
Roland Fredenhagen
6a64a28629
Add support for null safe indexing e.g. for arrays ( #631 )
...
* Add support for null safe indexing e.g. for arrays
This follows the JavaScript syntax:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining#syntax
* add docs
* Add test for safe access index to non indexable
Co-authored-by: Josiah Hilden <jhilden13@gmail.com>
Co-authored-by: Josiah Hilden <jhilden13@gmail.com>
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
2023-01-05 20:21:29 +01:00
Gioele De Vitti
29bfe4129f
Fix temperature values not being accessible due to NaN values ( #650 )
...
* Fix NaN values making JSON not accessible
* Explain NaN replacement
* Report fix in changelog
2023-01-05 20:16:47 +01:00
Roland Fredenhagen
3ae34602eb
Make some operators lazily evaluated ( #627 )
...
* Make some operators lazily evaluated
Fixes #624
* Add to CHANGELOG.md
2023-01-05 20:00:40 +01:00
Niclas
678e4dbc6b
Remove levenshtein crate in favor of strsim ( #635 )
...
strsim is already used by other dependencies
Signed-off-by: buffet <niclas@countingsort.com>
Signed-off-by: buffet <niclas@countingsort.com>
2022-12-07 16:14:13 +01:00
Niclas
ec4c2d1a4f
Update clap to 4.0 ( #633 )
...
Acked-by: ElKowar
Signed-off-by: buffet <niclas@countingsort.com>
Signed-off-by: buffet <niclas@countingsort.com>
2022-11-28 14:45:51 +01:00
Niclas
7a0e1b77f2
Disables default features for grass ( #606 )
2022-10-29 14:02:06 +02:00
Niclas
991bb8d078
Clean up Cargo.toml's ( #607 )
2022-10-29 14:01:48 +02:00
ElKowar
964cafce74
Update dependencies ( #604 )
2022-10-24 21:12:08 +02:00
ElKowar
f37f3ca3d8
Fix some clippy lints and run cargo fmt ( #603 )
2022-10-24 19:41:16 +02:00
ElKowar
471f1a117d
Allow for floating-point percentages in window geometry ( fixes #601 ) ( #602 )
2022-10-24 19:08:50 +02:00
elkowar
0cccd9d74f
Fix for loop widget not removing scopes when value changes
2022-10-01 17:37:32 +02:00
elkowar
f0d4f40dcf
Fix panic on trailing backslash in string ( fixes #551 )
2022-10-01 17:24:34 +02:00
Josiah Hilden
37fc231761
Safe Access Operator ( #577 )
...
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2022-10-01 17:03:54 +02:00
ElKowar
91d55cb305
Fix link to dharmx' powermenu guide ( fixes #581 )
2022-09-29 14:41:18 +02:00
Philipp Herzog
52e9603dd8
Fix: update crate version in lockfile ( #558 )
2022-09-13 11:29:17 +02:00
elkowar
d58d91de78
Prepare 0.4.0 release
2022-09-04 20:20:13 +02:00
elkowar
7623e7e692
Improve CSS error handling by parsing GTK error output (see #446 )
2022-09-04 16:16:37 +02:00
elkowar
58907eac4b
Add some comments
2022-09-03 21:06:50 +02:00
elkowar
d3b94cc76e
Factor out scss handling into it's own module
2022-09-03 20:33:18 +02:00
elkowar
89ea0a1fbc
Update dependencies
2022-09-03 18:49:07 +02:00
elkowar
b4d47956b5
Move from structopt to clap-derive
2022-09-03 18:41:23 +02:00
ElKowar
2c3b3ff260
Cleanup AstError and Error representation in general ( #549 )
2022-09-03 18:17:21 +02:00
elkowar
9e3df8be3b
Remove BREAKING CHANGE notification in calendar onchange
2022-09-03 10:18:53 +02:00
elkowar
bf532e63cc
Fix calendar months being indexed by 0 ( fixes #544 )
2022-09-03 10:16:01 +02:00
elkowar
44a8331417
Fix circular-progress showing 0 when value is 100 and clockwise is false ( fixes #543 )
2022-09-03 10:09:47 +02:00
elkowar
956f96fd76
Update dependencies
2022-08-29 16:34:19 +02:00
elkowar
28af00becd
Refactor app.rs, cleaning up run-while handling
2022-08-29 16:25:44 +02:00
elkowar
683936c23d
Remove some unused code
2022-08-29 14:53:02 +02:00
elkowar
e1d9e5cfff
Add check for duplicate variable definition ( fixes #320 )
2022-08-29 14:07:53 +02:00
elkowar
eba1c032ae
Add build commit hash to eww --version
2022-08-29 13:29:38 +02:00
elkowar
3c57ca59bf
Fix scale running onchange on scripted changes ( fixes #482 )
2022-08-29 12:43:01 +02:00
elkowar
abb7315215
Cleanup script-var-handler properly in drop impl
2022-08-29 11:51:52 +02:00
Carlos Pinto
535f21f5f9
Allow output names to select a monitor ( #522 )
...
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2022-08-29 11:20:36 +02:00
elkowar
e09c7364a5
Make max value for graph f64::MAX ( fixes #540 )
2022-08-29 11:11:38 +02:00
elkowar
ec7f982bdf
Add names to threads and tasks for easier debugging of crashes
2022-08-29 11:10:36 +02:00
moni
4061c059ac
update flake.lock ( #541 )
2022-08-28 13:34:59 +02:00
ElKowar
17d91f8a44
Fix listen vars not being cleaned up when reloading config ( #538 )
2022-08-27 14:23:28 +02:00
elkowar
1d794de86c
Link to dharmx guide in readme
2022-08-27 11:34:09 +02:00
elkowar
3ab53b0323
Make sure starting listenvars is idempodent ( fixes #360 )
2022-08-27 10:43:51 +02:00
Niclas
9977384b06
Cargo update and remove most duplicate dependencies ( #531 )
...
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2022-08-27 10:12:23 +02:00
moni
6657ef493e
heavily refactor nix flake ( #532 )
...
* heavily refactor nix flake
* move from legacy rust-toolchain to rust-toolchain.toml
2022-08-21 23:09:54 +02:00
ElKowar
25105c7c4f
Setup sponsorship options ( fixes #526 )
2022-08-19 13:55:51 +02:00
viandox
d814edd0d5
Add support for :active
on event box ( #529 )
2022-08-18 15:11:10 +02:00
moni
39eeeff7cf
clean up nix expressions ( #469 )
2022-08-15 10:56:05 +02:00
gavynriebau
7a3e2f4448
Add support for "round-digits" property for scale widget ( #509 )
...
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2022-08-15 10:34:54 +02:00
elkowar
0a5d6f4ac9
set overlay passthrough to true ( fixes #503 )
2022-08-15 10:29:59 +02:00
elkowar
4004362633
Attempt to fix inconsistent window closing behavior w.r.t. script var cleanup and toggle
2022-08-15 10:17:26 +02:00
elkowar
9da37b8bd0
Add lexer test for empty string interpolation
2022-08-09 12:41:02 +02:00
elkowar
aac4c3aef4
hotfix: fix panic because of deallocated GTK widget being called in handler ( fixes #478 )
2022-07-27 18:50:29 +02:00