Commit Graph

627 Commits

Author SHA1 Message Date
ElKowar
48bfb1e0c0
feat(config): Allow custom widgets to make use of children (#317) 2021-10-23 14:10:07 +02:00
Pedro Burgos
0aaaa2c2b8
[FEATURE] Added support for marks on scales (#293) 2021-10-17 13:39:44 +02:00
elkowar
c50bfb7184
feat: add --no-daemonize flag that disables daemonizing eww (fixes #288) 2021-10-16 14:15:44 +02:00
elkowar
d708902c03
fix(docs): mention orientation in scale properties 2021-10-16 14:01:54 +02:00
Adam Washington
7096a5b9d0
Wayland support in flake.nix (#297) 2021-10-16 13:51:46 +02:00
ZetaNumbers
90466ab9bf
fix: eww passes x11 and wayland features down to yuck (#306) 2021-10-16 13:44:59 +02:00
elkowar
5b52cd927a
fix: Remove accidental reference to x11 only feature in use statement in app.rs 2021-10-16 13:39:07 +02:00
elkowar
00bb0b4b0b
fix: allow windows to get moved when windowtype is normal (fixes #303) 2021-10-13 09:29:08 +02:00
Fenella
9c15e4c887
Fix typo (#283)
Co-authored-by: neralie <izzyro@tuta.io>
2021-10-01 13:38:16 +02:00
elkowar
1b2df75453
feat(cli): Add command to open the GTK debugger 2021-10-01 13:34:14 +02:00
elkowar
e49d39e108
fix(docs): Update links to GTK css documentation 2021-10-01 13:23:27 +02:00
Animesh Sahu
07eeac340f
Exclude duplicates of widget property in docs (#276) 2021-09-13 16:20:02 +02:00
Pedro Burgos
a07fb35eda
Fix onscroll direction issue (#280) 2021-09-13 16:19:24 +02:00
elkowar
baad2bf8d2
Fix ram usage in example 2021-09-12 12:03:10 +02:00
Animesh Sahu
4a56b74b9a
Adds :onhoverlost and separates out event based actions on eventbox widget (See #251 for more info). (#256)
* Adds :onhoverlost and fixes all the masks mistyped

* Adds eventbox widget and added deprecation error level warning on top-level widgets

* Run cargo fmt

* Fixes broken old link

* Fix nested element glitch by ignoring inferior events, improve deprecation arg processing into single operation

* Extract large deprecation msg to note
2021-09-12 12:01:56 +02:00
Florian Proksch
e1558965ff
chore: dependency update (#274)
Update dependencies of gtk and gdkx11 to 0.14
2021-09-11 18:02:35 +02:00
Animesh Sahu
80b89dd391
Implement trigger for defpoll variable (#273)
* Implement trigger for defpoll variable

* Rename functions and configuration properties, edit docs to show sample usage, improve nearby fields in docs.
2021-09-11 18:01:41 +02:00
Florian Proksch
3a486f181e
I3 dock fix (#258)
* fix: problem with docked widgets on i3

Show window only after settings x-props. According to the EWMH spec:
> _NET_WM_WINDOW_TYPE
> This SHOULD be set by the Client before mapping to a list of atoms
> indicating the functional type of the window.

So the _NET_WM_WINDOW_TYPE atom must be set before showing the window.

The callback to the configure event handle now checks the windows
current geometry to not move the window if it's already where it's
supposed to be. This prevents the eww daemon from endlessly chatting
with X11 in some instances.

* chore: cargo fmt
2021-09-11 17:34:53 +02:00
elkowar
5a581a5974
fix: remove no-op timeout on poll-vars 2021-09-11 14:02:28 +02:00
Pedro Burgos
df1168d6d0
Implement optional initial value for pollvars (#272)
* Implement optional initial value for pollvars

* Updated docs to include the atribute initial for pollvars
2021-09-11 13:50:45 +02:00
Ben Fiedler
089f617393
Indicate label truncation (#259)
Closes #257
2021-09-11 12:44:25 +02:00
legendofmiracles
634724bf29
Makes code more rusty/idiomatic (#264)
* makes eww code more idiomatic

* makes simplexpr more idiomatic

* makes yuck more idiomatic
2021-09-11 12:43:44 +02:00
legendofmiracles
87d4bc4c76
Checks if window is open to not flicker the window (#263) 2021-09-11 12:34:58 +02:00
legendofmiracles
6867010203
Fixes typos in the PR template (#262) 2021-09-11 12:16:50 +02:00
legendofmiracles
e4e0178de9
fixes compilation on latest nightly (#265) 2021-09-11 12:16:19 +02:00
ElKowar
a2682b79ac
fix: correct gt and lt parsing 2021-09-11 12:14:42 +02:00
Florian Proksch
07a9b97e5b
fix: correct gt and lt parsing 2021-09-05 17:51:30 +02:00
ElKowar
70285e0ebf
Add more information to EWW_RAM, fix documentation of magic variables
Better EWW_RAM / Docs update
2021-08-27 18:35:38 +02:00
druskus20
6ad999f299
Fixed percentages and ram usage 2021-08-27 18:34:44 +02:00
druskus20
fb2bff5137 Deprecation warning for EWW_CPU_USAGE 2021-08-26 02:26:40 +02:00
druskus20
0a71f3ccf8 This is now, how one calculates percentages 2021-08-26 01:38:00 +02:00
ElKowar
291239af15
feat(simplexpr): allow json literals in simplexprs 2021-08-25 14:52:58 +02:00
elkowar
3f65733d12
feat(simplexpr): allow json literals in simplexprs 2021-08-25 14:52:14 +02:00
druskus20
d216e8a723 EWW_NET fixed null interface error 2021-08-24 22:37:53 +02:00
elkowar
8de692da8a
fix: Fix listen-var process cleanup
listenvars now run in their own process-groups. Thus, when they get
stopped, not only does the main script get killed, but also the spawned
children, rather than them being adopted by init.
2021-08-24 14:01:58 +02:00
druskus20
905118f612 Added % used ram to EWW_RAM 2021-08-24 13:39:04 +02:00
elkowar
30868de604
fix(logs): remove variable updates from info logs 2021-08-23 10:15:17 +02:00
elkowar
bbcc8a3d29
fix: Wait 50ms before reloading config, to avoid reading an empty file 2021-08-23 10:12:31 +02:00
elkowar
17750289a5
fix: Run hot-reloading only on modify events 2021-08-23 10:06:28 +02:00
druskus20
5ca6ba03c4 Added used space to EWW_DISK 2021-08-23 00:06:45 +02:00
druskus20
86dce341ac Updated the docs, renamed EWW_CPU_USAGE to EWW_CPU 2021-08-21 19:55:04 +02:00
druskus20
4c9315a016 Adding more memory data to EWW_RAM as json fields 2021-08-21 19:12:28 +02:00
druskus20
8234145bf2 Renamed system stat functions 2021-08-21 18:30:06 +02:00
elkowar
77055b80e7
fix(diag): Add span to default values of custom widgets 2021-08-21 16:59:59 +02:00
elkowar
c380313ba7
feat(config): Add optional widget arguments prefixed with ? 2021-08-21 14:24:13 +02:00
elkowar
7aa8d8a404
fix(diag): Improve warning for unknown attributes 2021-08-21 12:33:37 +02:00
elkowar
9ce219a420
feat(cli): add --toggle to open-many, allow closing multiple windows at once 2021-08-19 15:45:07 +02:00
elkowar
7ffebf6903
Fix documentation of magic variables 2021-08-18 17:14:58 +02:00
elkowar
c079f19c25
Fix gh-pages workflow 2021-08-18 17:09:32 +02:00
ElKowar
9c12a316d6
Merge pull request #221 from elkowar/config_rework
Configuration format rework
2021-08-18 16:56:16 +02:00