* Add changelog entry for transform-origin-properties
* Implement explicitly setting a center of rotation
The transform-Widget provides "rotate" to rotate its child. However, the
default center of rotation is (0, 0) (aka top-left), so it was not
possible to, for example, rotate a child in-place.
This commit implements the additional options `transform-origin-x` and
`transform-origin-y`. Both are optional, and the default value is 0.0 for
each, so previous configurations should produce the same results.
* Fix: transform order should be rotate->translate->scale
* add `EWW_BATTERY` support in (free|open|net)bsd
* add `EWW_BATTERY` support in (free|open|net)bsd
---------
Co-authored-by: ElKowar <dev@elkowar.dev>
* Add scss support for the ':style' widget property
* Add changelog entry for the scss support for the ':style' property
---------
Co-authored-by: ElKowar <dev@elkowar.dev>
* fix!: eliminate some dead code
* fix: fix lints
Combined diff of a7a09ea192b6f06b1984709029dc3bfe0481759e and bfc5cb9cb020dd256484eb5e4344e12e4a3b2ceb
Co-authored-by: Johan Geluk <johan@geluk.io>
* fix: remove unnecessary allow; fix capitalization
* chore: automatically update a few dependencies
* fix: fix lint
i introduced this in #1119, whoops
* docs: move #1132's changelog entry
---------
Co-authored-by: Johan Geluk <johan@geluk.io>
* Fix: EWW_NET wrong values for TX/RX stats
The sysinfo crate, structure Networks, basically caches one value of
total_received/total_transmitted each (as well as other metrics) and
returns the difference between those two values when queried via the
`received()` and `transmitted()` functions.
These values are updated by both the `refresh()` and `refresh_list()`
functions; so by calling both of them right after each other like
previously done here, sets both the cached total_received/... and the
current total_received/... to nearly the same value.
`refresh_list()` also updates the list of interfaces on a host, with a
marginally small performance impact for doing so (I measured slightly
more than 100 microseconds on my machine (0.1 milliseconds), around
20-25% more than with `refresh()`), especially considering this is run
only every 2 seconds.
* Add changelog entry for the EWW_NET bugfix
Add a new :icon property which allows using icons from the currently
selected theme. For completeness, add :icon-size as well. As a nice
extra, GTK automatically makes such images follow the selected icon
theme.
The major benefit of MenuItem is automatic handling of context menus.
However, MenuItem cannot properly process right mouse click, making it
less useful. Hence, this patch replaces it (as long as the container)
with a simple EventBox and process button clicks on our own.
* added basic get_env function to yuck
* added get_env to changelog
* added get_env to docs
* changed key to string in doc
* changed suggested code
* credit myself in CHANGELOG.md