Commit graph

213 commits

Author SHA1 Message Date
elkowar
e76206817d
Add timeout log to run_command 2023-03-26 13:10:35 +02:00
elkowar
88cd3a29dc
Provide better error and docs for duration type 2023-03-26 12:40:16 +02:00
ElKowar
992ac0b59a
Add namespace window option (#723) 2023-03-26 12:26:49 +02:00
ElKowar
642983a066
Default to building with both x11 and wayland (#722)
* Default to building with both x11 and wayland

* Update CI to include tests and building for wayland and x11
2023-03-26 12:09:03 +02:00
kawaki-san
de232de41b
feat: truncate-left for labels (#721)
feat: `truncate-left` for labels

Adds a flag that allows truncation to the left of text

---------

Co-authored-by: kawaki-san <dev@kanjala.com>
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2023-03-26 10:25:24 +02:00
n3oney
c72b881c3f feat: add justify property 2023-03-20 12:41:35 +01:00
éclairevoyant
fba770255d
remove box_syntax (#711)
Rust removed support for box_syntax in a recent nightly release :'(
2023-03-20 12:40:36 +01:00
elkowar
8ff4142064
Cleanup code, fix clippy lints 2023-02-25 17:08:57 +01:00
elkowar
d2c7bde29d
Fix outdated formatting config 2023-02-25 16:51:08 +01:00
ElKowar
7290b9bb8d
Add jq function (#695) 2023-02-25 16:27:32 +01:00
Ezequiel Ramis
6b576c02ac
Vanilla CSS support (#467)
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
2023-02-25 10:35:35 +01:00
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
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
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
ElKowar
17d91f8a44
Fix listen vars not being cleaned up when reloading config (#538) 2022-08-27 14:23:28 +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
viandox
d814edd0d5
Add support for :active on event box (#529) 2022-08-18 15:11:10 +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