Elekrisk
8c977892d4
add gravity
property to label
widget ( #949 )
2024-02-17 10:42:29 +01:00
Vladyslav Aviedov
e95d3af963
Add gtk stack widget ( #838 )
2024-02-17 10:38:06 +01:00
WilfSilver
65d622c81f
Add window arguments ( #431 )
...
* Allow window definitions to have parameters
* Implement SimplExpr for all other window definition options
* Take gtk scaling into account when setting struts
* Cleanup
* Rename window_argumentss to instance_id_to_args
* Update docs to emphasis window arguments being constant
* Replace eww windows with active-windows and list-windows
* Fix extracting duration from string
* Format + reduce warnings
---------
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2023-12-20 21:04:38 +01:00
ElKowar
4f1f853b5f
Improve flexibility of monitor configuration ( #1003 )
...
* Allow named monitors on wayland
* Allow list of monitor matchers
2023-12-20 16:59:39 +01:00
ElKowar
a9a35c1804
Support --duration close timer for windows ( #884 )
2023-08-18 15:51:42 +02:00
Tamás Táncos
393f7fa401
Update the gtk libraries to 0.17 ( #747 )
2023-08-18 15:03:01 +02:00
elkowar
c94b40d3fa
fix property naming with _ in docs
2023-08-18 10:48:00 +02:00
elkowar
4450ef55fa
Add substring function
2023-08-18 10:46:12 +02:00
end-4
9d0b667dea
Add trigonometric functions ( #823 )
2023-08-16 13:40:24 +02:00
elkowar
efce800aff
Update dependencies
2023-08-16 13:16:32 +02:00
elkowar
d42bb08e84
Fix circular progress crashing when value is out of range
...
fixes #682 , fixes #854
2023-08-16 12:51:43 +02:00
elkowar
dc3129aee2
Add :css property to widgets
2023-07-29 21:53:46 +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
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