Commit graph

183 commits

Author SHA1 Message Date
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
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
pentamassiv
d8bb8c4142
Updated dependencies (#449)
* Updated gtk dependencies

* Added badge for status of dependencies

* Updated remaining deps for eww and other crates

* Removed obsolete imports

* Fixed problems with PR and bumped deps

* Updated x11rb
2022-07-27 18:25:08 +02:00
viandox
962c06c0ee
Fixed #501 add password prop to input (#502) 2022-07-25 11:28:28 +02:00
Niclas
b2f60a1f43
Remove some unnecessary allocations (#480) 2022-07-03 00:00:49 +02:00
elkowar
0b0715fd50
Fix some types missing in widget docs 2022-05-26 15:00:34 +02:00
elkowar
fe7bc30fc9
Release version 0.3.0 2022-05-26 14:00:57 +02:00
elkowar
a85d35d919
Fix some comments in overlay 2022-05-26 13:41:30 +02:00
viandox
c855ec07d5
Add overlay widget (#457) 2022-05-26 13:40:09 +02:00
elkowar
3297c4eb70
Add format explanation to eww open position and size docs 2022-05-26 13:27:58 +02:00
elkowar
77adfbca6b
Set window class to window name 2022-05-26 13:17:11 +02:00
elkowar
00ff1dc492
Fix error message of enum_parse-based attributes 2022-05-26 13:13:35 +02:00
Yury Ankudinov
52e14d8263
Fix/signal disconnect (#445)
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2022-05-26 10:45:47 +02:00
elkowar
a37c2e435f
Fix magic vars not working anymore (fixes #462) 2022-05-23 22:22:37 +02:00
Lucas Ransan
1830fe8535
Fix build on Freebsd (#459)
* Fix get_battery_capacity type on BSD

* Update sysinfo: 0.16.5 -> 0.23.12
2022-05-23 19:27:20 +02:00
elkowar
4fb5c37a35
Add hint about width of progress (fixes #458) 2022-05-22 11:21:45 +02:00
elkowar
6b5c35cbf9
Add EWW_CONFIG_DIR, EWW_CMD, EWW_EXECUTABLE variables 2022-05-21 15:06:42 +02:00
elkowar
c0dcc43336
Improve error message for missing default monitor on wayland 2022-05-16 12:04:29 +02:00
elkowar
78ae9cb00a
Add error message when overriding builtin widgets accidentally (fixes #456) 2022-05-14 19:19:17 +02:00
elkowar
e810f2a67a
Add version to workspace dependencies 2022-05-09 18:58:55 +02:00
elkowar
6f574e547a
Add a description and license to all Cargo.toml files 2022-05-09 18:56:32 +02:00
elkowar
7168ceafe3
small optimization to llvm codegen amount 2022-05-07 16:04:50 +02:00
elkowar
d1b222fa7f
Allow for floating point numbers in durations (fixes #447) 2022-04-29 14:20:14 +02:00
Alessio
34d929f097
Added support to label text alignment. (#412)
* Added support to label text alignment.

Since labels in gtk can't be aligned via css (I still don't know why)
and can be only aligned using code, this patch adds support for this
functionality by adding the properties :xalign and :yalign to the label
expression.
The exact behavior is described by the docs.

* Updated changelog with :xalign and :yalign for labels
2022-04-29 14:06:20 +02:00
elkowar
6211267e06
Add onclick to eventbox 2022-04-29 10:52:25 +02:00
elkowar
051d50c8fe
Add onaccept to input (fixes #441) 2022-04-29 10:32:38 +02:00
elkowar
982056f69f
Fix signal inexistant signal handler error 2022-04-27 17:44:38 +02:00
elkowar
1daeb0c77a
Fix unnumbered placeholders not working in commands 2022-04-24 16:01:53 +02:00
ElKowar
6b7fa5d55c
Implement loop widget (#350) 2022-04-23 12:54:48 +02:00