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
ElKowar
a7ccd2698f
Merge branch 'master' into config_rework
2021-08-18 16:41:00 +02:00
elkowar
9dc02f413b
set fixed rust toolchain
2021-08-18 16:35:36 +02:00
elkowar
3830e003fe
Clean up example config further
2021-08-18 16:30:11 +02:00
elkowar
f83ad913be
Clean up example bar
2021-08-18 16:21:04 +02:00
elkowar
b8877c5dc0
Add migration to readme
2021-08-18 16:01:50 +02:00
elkowar
4942925859
Cleanup and update dependencies
2021-08-18 15:24:00 +02:00
elkowar
9af334389b
Add lisp syntax highlighting to docs
2021-08-17 13:07:52 +02:00
elkowar
bb84e36757
Fix example widgets at start of config
2021-08-17 13:07:52 +02:00
elkowar
8679d7cb71
Add comment to explain where to use literal
2021-08-17 13:07:52 +02:00
elkowar
30275007cb
Fix explanation of geometry in configuration
2021-08-17 13:07:52 +02:00
elkowar
0a27685938
reorder pages
2021-08-17 13:07:52 +02:00