ipsvn
5b4cc3e7a8
Add value-pos to scale widget ( #1285 )
...
* Add value-pos to gtk scale
* add possible values to value-pos
* add value-pos change to CHANGELOG.md
2025-02-16 16:46:18 +01:00
bbb651 🇮🇱
29fa1587c3
Force recreating windows on config change ( #1284 )
...
Fixes the regression from #1236 preventing hot reload.
This can be made granular, e.g. for changes that don't
effect all windows or css chnages not requiring a full
window restart
2025-02-10 13:43:46 +01:00
bbb651 🇮🇱
b6b7bc8453
Avoid recreating windows when only duration changes ( #1236 )
...
This avoids possible flicker with windows such as OSDs.
The logic to do this was added in #263 but broke when durations were added.
Fixes #260 .
2025-02-05 20:17:57 +01:00
Joel S
49b3066a6a
fix: Load systray items that are registered without a path ( #1230 )
...
Co-authored-by: ElKowar <dev@elkowar.dev>
2025-02-05 20:14:49 +01:00
Kiana Sheibani
c6decc815a
feat: add subcommand to force-poll variable ( #1227 )
...
* feat: add subcommand for force-polling variable
* docs: document the new `eww poll` subcommand
2025-02-05 20:11:35 +01:00
vaporii
e7b95688a7
add lines and wrap-mode properties to label widget ( #1278 )
...
* add :lines property to label widget
* add :lines property and fix some other little stuff
* quick documentation fix
2025-02-05 20:10:20 +01:00
Lorenzo Bodini
593a4f4666
add log
to expressions ( #1271 )
...
* feat: add `log` to expressions
* changelog: add `log`
2025-01-14 20:11:56 +01:00
Mirko Hahn
a7bd80ac1e
fix: get_locale follows posix standard ( #1264 )
...
* fix: get_locale follows posix standard
* refactor: more concise and legible get_locale function
Co-authored-by: Wölfchen <w-lfchen@posteo.net>
---------
Co-authored-by: Wölfchen <w-lfchen@posteo.net>
2025-01-04 21:20:26 +01:00
Wölfchen
6ee166707f
feat: add raw-output
for jq
( #1199 )
...
* feat: add raw-output arg to jq
Co-authored-by: Roman Hargrave <roman@hargrave.info>
* test: add some test cases for jq raw output
* refactor: improve run_jaq_function
* docs: document changes
---------
Co-authored-by: Roman Hargrave <roman@hargrave.info>
2024-12-27 23:49:28 +01:00
Wölfchen
81398d6d28
fix: improve scope handling ( #1189 )
...
* fix: first attempt at fixing scopes for widgets with children
* fix: new scope for every child
* chore: remove debug print
2024-12-27 00:49:31 +01:00
GallowsDove
2c81b3fbc7
feat: Add support for on-demand window focus on wayland ( #1215 )
...
* feat: Add support for on-demand window focus on wayland
* fix: cargo fmt
* Update CHANGELOG.md with OnDemand focusable
* fix: add v0_6 feature to gtk-layer-shell in eww/cargo.toml
2024-12-27 00:44:06 +01:00
Roberto
95124ad274
Fixing examples.md ( #1257 )
...
Error for the path load of the image for the data structure example
2024-12-27 00:31:45 +01:00
ovalkonia
c3b28d8fe5
powi
/powf
simplexpr functions (#1255 )
...
* Add `powi`/`powf` expressions
* Update docs
2024-12-27 00:29:26 +01:00
ElKowar
f2b687043e
Reference yolk in Readme
2024-12-21 16:56:36 +01:00
Nycta
a8dd2f251f
Add "Activate Linux" to README.md ( #1242 )
2024-12-11 20:03:56 +01:00
shobu13
86dc4a4636
Update expression_language.md ( #1231 )
...
add clarification for regex operator
2024-11-20 09:42:05 +01:00
Wölfchen
50ec181fc7
feat: support empty string for safe access operator ( #1176 )
...
* chore: apply pr #629
Co-authored-by: Roland Fredenhagen <dev@modprog.de>
* style: early return
* feat: err on empty json string
* docs: update docs
* test: update test in accordance with decision
* chore: attribution
* docs: improve wording
* docs: add breaking change notice to changelog
* fix(changelog): fix pr link
---------
Co-authored-by: Roland Fredenhagen <dev@modprog.de>
2024-10-12 07:49:50 +02:00
ElKowar
8801fa36a0
fix bug_report issue template even more
2024-10-11 15:36:21 +02:00
ElKowar
49b37f86e6
Fix bug_report issue template
2024-10-11 15:35:19 +02:00
ElKowar
26ff08f9ad
Add platform section to bug-report issue template
2024-10-11 15:34:44 +02:00
Wölfchen
8de378dc10
feat: button improvements ( #1187 )
...
* feat: add keyboard support for button presses
Co-authored-by: Julian Schuler <31921487+julianschuler@users.noreply.github.com>
* chore: attribution
* fix: activate eventbox on button release; minor fixes
* docs: improve button and eventbox documentation
Co-authored-by: Julian Schuler <31921487+julianschuler@users.noreply.github.com>
---------
Co-authored-by: Julian Schuler <31921487+julianschuler@users.noreply.github.com>
2024-10-11 13:27:24 +02:00
ovalkonia
9a7e699539
Some docs updates ( #1179 )
...
* Export magic constants during server initialization
* `docs`: add `magic constants` descriptions (or at least try)
* `docs`: add `min` and `max` simplexpr functions entries
* `docs`: `expander` should contain single child
* Update docs/src/magic-vars.md
Co-authored-by: Wölfchen <w-lfchen@posteo.net>
* `docs`: fix the heat units typo
* Revert "Export magic constants during server initialization"
This reverts commit 09fbdde6c99a4c4c8af39b76496878f99a28d568.
* Revert "Update docs/src/magic-vars.md"
This reverts commit b3dbfadfb2143cc0d3e2e21c0cf43ed0a96a53cf.
* Revert "`docs`: add `magic constants` descriptions (or at least try)"
This reverts commit f03aebf0dd2fba10c67c608f72570c230d0eb8ea.
---------
Co-authored-by: Wölfchen <w-lfchen@posteo.net>
2024-10-11 13:15:32 +02:00
Wölfchen
ef32bf2c3f
feat: update toolchain to 1.81.0 ( #1195 )
...
* flake.lock: update
* feat: switch to 1.81.0 toolchain
* fix: fix new warnings and lints
* chore: update changelog entry
* chore: automatically update a few dependencies
2024-10-10 19:26:00 +02:00
Wölfchen
23f80cd25e
nix: update flake-compat ( #1197 )
...
* nix: update flake-compat
* nix: use edolstra/flake-compat#65 as input
2024-10-10 19:25:09 +02:00
Wölfchen
e242d40e35
revert: zbus 4 -> 3 ( #1203 )
...
* revert: zbus 4 -> 3
This reverts commit 71ba502442
.
* chore: update dependencies
* chore: manually edit lockfile
* chore: dependency updates
2024-09-26 19:22:24 +02:00
mario-kr
8661abf2bf
Implement explicitly setting a center of rotation ( #783 )
...
* 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
2024-09-03 14:34:39 +02:00
István Donkó
bb916c652b
Clean up example SCSS file ( #644 )
2024-09-03 14:33:37 +02:00
Wölfchen
6db0f95c57
fix: demote two logging statements to debug ( #1183 )
...
* fix: demote two logging statements to debug
* fix: remove some trailing whitespace in log message
2024-08-31 19:57:17 +02:00
Wölfchen
52d3669881
fix: fix system tray not displaying anything ( #1181 )
...
* fix: update snw's default path
* docs: document changes to autogenerated files
2024-08-30 12:53:02 +02:00
MunsMan
4a53c12006
Fixing missing commas in example ( #1174 )
2024-08-28 19:29:27 +02:00
NAHO
e08c6a20ec
docs(readme): improve spacing ( #886 )
2024-08-28 19:21:31 +02:00
Wölfchen
1d3a186092
fix: make formattime follow system locale ( #1177 )
...
closes #869
Co-authored-by: CrumblyLiquid <crumblyliquid@gmail.com>
2024-08-28 10:29:52 +02:00
Wölfchen
057297b4a3
fix: remove unused import ( #1168 )
2024-08-25 19:44:34 +02:00
Schrottkatze
16250aee86
Fix Typo ("procent" -> "percent") ( #1169 )
2024-08-25 18:03:33 +02:00
dangerdyke
ee937b90ec
add EWW_BATTERY
support in (free|open|net)bsd ( #645 )
...
* 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>
2024-08-25 16:24:43 +02:00
PrettyCoffee
96529d37fa
docs: Add example for data structures ( #595 )
2024-08-25 16:24:31 +02:00
Leni Aniva
452cab7677
feat: Add option for graph drawing direction ( #1113 )
...
* feat: Add option for vertical graph
* doc: Add feature to changelog
2024-08-25 16:15:43 +02:00
ovalkonia
dc4def5327
Add scss support for style property ( #1121 )
...
* 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>
2024-08-25 16:14:35 +02:00
Mateusz
510b824e75
Use gdk_screen_get_monitor_plug_name to provide more consistent monitor names on wayland ( #1129 )
...
* workaround gdk not providing right monitor informations on wayland
* move gdk workaround for plug name into a separate function
* adjust changelog
2024-08-25 16:03:52 +02:00
Wölfchen
3342234894
fix: fix changelog, warnings and lints ( #1155 )
...
* 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>
2024-08-25 15:51:26 +02:00
mario-kr
fefba66ff5
Fix: EWW_NET wrong values for TX/RX stats ( #1108 )
...
* 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
2024-08-25 15:45:33 +02:00
Harsh Khandeparkar
6b6e236e2e
docs: changed kB to bytes in EWW_RAM
description ( #1075 )
2024-08-25 15:45:18 +02:00
Wölfchen
5212e62fd3
feat: add fill-svg and preserve-aspect-ratio attributes to image widget ( #1148 )
...
* feat: add fill-svg attribute to image widget
Co-authored-by: Eddy Otsutsuki <23711001+hypernova7@users.noreply.github.com>
* feat: add preserve-aspect-ratio attribute to image widget
* docs: document new attributes; changelog entry
---------
Co-authored-by: Eddy Otsutsuki <23711001+hypernova7@users.noreply.github.com>
2024-08-24 13:02:33 +02:00
ovalkonia
f01396f9d5
Fix: the gtk expander
widget bugfix ( #1132 )
...
* Fixed the gtk `expander` widget
* Add changelog entry for the `expander` widget bugfix
2024-08-24 12:30:23 +02:00
ovalkonia
367363975e
Fix: the gtk stack
widget bugfix ( #1119 )
...
* Fixed the gtk stack widget
* Add changelog entry for the stack widget bugfix
* Small code style improvement
Co-authored-by: Wölfchen <w-lfchen@posteo.net>
---------
Co-authored-by: ElKowar <lkowarschick@gmail.com>
Co-authored-by: Wölfchen <w-lfchen@posteo.net>
2024-08-24 12:30:06 +02:00
Wölfchen
b62094fa5d
chore: automatically update a few dependencies
2024-08-24 12:26:24 +02:00
Wölfchen
faa73137b4
chore: update toolchain to 1.80.1
2024-08-24 12:26:24 +02:00
Wölfchen
c69aa92c36
chore: automatically update a few dependencies
2024-08-24 12:26:24 +02:00
Wölfchen
56e2fdae55
chore: automatically update a few dependencies
2024-08-24 12:26:24 +02:00
Wölfchen
ffe43eda85
chore: automatically update a few dependencies
2024-08-24 12:26:24 +02:00