Commit Graph

577 Commits

Author SHA1 Message Date
elkowar
44fa18367e
make getvol use pamixer 2023-08-03 16:45:45 +02:00
elkowar
dc3129aee2
Add :css property to widgets 2023-07-29 21:53:46 +02:00
elkowar
a470bb816f
make getvol script nicer and work without amixer 2023-07-29 21:14:09 +02:00
elkowar
27830a8c6d
Fix eww not working on wayland if X feature is enabled 2023-07-29 20:05:45 +02:00
elkowar
4a9455b63f
Remove unnecessary once_cell feature 2023-07-29 14:57:01 +02:00
éclairevoyant
acf255f24a
Comply with rust-lang/rfcs#2140 (#815) 2023-07-29 14:48:13 +02:00
elkowar
25e50eda46
cleanup some builtin vars 2023-06-10 20:57:40 +02:00
elkowar
c613275621
Don't constantly log total_avg error 2023-06-10 20:30:10 +02:00
elkowar
b31e397e97
Cleanup EWW_TIME API and code 2023-06-09 17:21:21 +02:00
Eren Önen
4d63f6deec
add EWW_TIME magic variable (#792) 2023-06-09 17:17:41 +02:00
elkowar
e733d4e1e4
Remove redundant getram script (fixes #782) 2023-06-09 16:33:24 +02:00
Chan Wei Qi
028f315ba8
docs: fix typo (#781)
Fixed a typo: withing --> within
2023-06-03 22:38:19 +02:00
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
Azad
45154bbf59
Add regex match operator (=~) to documentation (#702) 2023-03-08 20:25:50 +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
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