Commit Graph

113 Commits

Author SHA1 Message Date
Byson94
da05f2ef9c fix: fixed first window example in config::configuration.md 2025-08-06 22:02:14 +05:30
Byson94
365ce6b315 feat: Added Widget Properties and widget param doc
Added widget properties (what they do & their signature), the parameters of the widget function call.

I may have also improved the docs on some other parts which I may have forgotten.
2025-08-06 21:55:15 +05:30
Byson94
bb9b92dc7e doc: Added modules documentation 2025-08-05 20:06:43 +05:30
Byson94
3a98e9c9cc docs: fixed config & syntax file path 2025-08-05 13:22:53 +05:30
Byson94
1e89470b1e docs: improved docs and added nested chapters 2025-08-05 13:11:30 +05:30
Byson94
8fe2e9c8e0 docs: improved docs by refactoring the configuration.md 2025-08-04 23:04:52 +05:30
Byson94
122cb9f98f feat: Added polling (untested) 2025-08-02 22:36:14 +05:30
Byson94
99378c513e feat: starting the work on rhai signals 2025-08-02 20:26:58 +05:30
Byson94
c207de43ba docs: Improved docs, added more files to fill in with content 2025-08-02 18:45:21 +05:30
Byson94
7620c778d4 docs: Improved structure and moved installation to getting started 2025-07-31 18:27:24 +05:30
Byson94
1485c6125b docs: changed theme to navy (ayu -> navy) 2025-07-30 22:35:03 +05:30
Byson94
f90a9c9db5 docs(SUMMARY.md): improved sidebar layout 2025-07-29 20:48:08 +05:30
Byson94
7bd7588c98 docs: Made few changes to configuration summary 2025-07-29 20:24:58 +05:30
Byson94
3ae820e1dc doc: changed eww -> ewwii 2025-07-28 20:28:33 +05:30
Byson94
e9f326d3b7 fix(ci): Fixed ci to work with main branch as it used master 2025-07-28 20:22:30 +05:30
Byson94
c1309e5186 doc: updated docs (changed github repo) 2025-07-28 20:17:33 +05:30
Lorenzo Bodini
fddb4a09b1 add formatbytes to expressions (#1333)
* feat: add `log` to expressions

* changelog: add `log`

* feat: add `formatbytes` to expressions
2025-06-30 16:11:18 +02:00
elkowar
20d0997636 fix documentation of ceil and floor (fixes #1319) 2025-05-13 23:09:23 +02:00
Martin Bogdanov
2c6523a372 Add floor() and ceil() (#1315)
* add floor() and ceil() functions to simplexpr, akin to round()

* document addition of floor() and ceil()

* remove unnecessary second argument for floor() and ceil()

* Update documentation

---------

Co-authored-by: Martin Bogdanov <github () martinbogdanov.com>
2025-05-11 15:08:43 +02:00
Lucas Baumann
eb59d155a2 Add warning for invalid exclusive and anchor combination (#1316) 2025-05-11 13:11:13 +02: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
Lorenzo Bodini
593a4f4666 add log to expressions (#1271)
* feat: add `log` to expressions

* changelog: add `log`
2025-01-14 20:11:56 +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
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
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
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
MunsMan
4a53c12006 Fixing missing commas in example (#1174) 2024-08-28 19:29:27 +02:00
PrettyCoffee
96529d37fa docs: Add example for data structures (#595) 2024-08-25 16:24:31 +02:00
carschandler
bd824fcbfd Typo in configuration.md 2024-08-24 12:25:16 +02:00
Mickaël
e7f7046ddd Fix typo in docs 2024-04-06 12:58:05 +02:00
Temmie
1b819fb646 System Tray (#743)
* Allow tokio on gtk thread

* Basic notifier host implementation

* Implement systray widget

* Use dbusmenu-gtk3

* Update flake.nix

* US spelling of license

* Fix possible TOCTOU

* Change how hosts are started

* Add watcher

* Bunch of refactor

* Handle errors better

* Refactor service parsing

* Avoid duplicate dbus connections

* Fix watcher producing bad items

* Handle zbus::Error::NameTaken

* Refactor icon loading & don't panic on zoom

* Implement pixbuf icons

Co-authored-by: Bojan Nemčić <bnemcic@gmail.com>

* Don't panic on icon/menu error

* Improve icon error handling to make discord work

* Update comments

* Big refactor into actor model

* Reword error messages

* Remove redundant watcher_on function

* Big icon handling refactor

* Don't unnecessarily wrap StatusNotifierItem

* cargo fmt

* Documentation

* Avoid registering to StatusNotifierWatcher multiple times

* None theme means default theme

* Add dbus logging

* Add libdbusmenu-gtk3 dependency to docs

* Some code tidying

* Make Item more clearer

* Make clippy happy

* Systray widget improvements

* Remove unwraps from dbus state

* Temporarily add libdbusmenu-gtk3 to flake buildInputs

* Fix blurry tray icon for HiDPI display

* feat: dynamic icons

* fix: don't cache IconPixmap property

this fixes dynamic icons for some icons, e.g. syncthingtray

* fixup! feat: dynamic icons

* Fix unused borrow warning

* Add some documentation to notifier_host

* Rename notifier_host::dbus to more descriptive notifier_host::proxy

* fixup! Rename notifier_host::dbus to more descriptive notifier_host::proxy

* fixup! Merge remote-tracking branch 'upstream/master' into tray-3

* fixup! Merge remote-tracking branch 'upstream/master' into tray-3

* Remove commented out fields of DBusSession

* Refactor host

* Remove git conflict marker

* Various improvements

* Icon documentation

* cargo fmt

* Add dependency to CI

---------

Co-authored-by: Bojan Nemčić <bnemcic@gmail.com>
Co-authored-by: MoetaYuko <loli@yuko.moe>
Co-authored-by: hylo <hylo@posteo.de>
2024-03-30 10:55:01 +01:00
Jacob
f1ec00a1c9 add get_env function to yuck (#779)
* 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
2024-03-20 12:45:08 +01:00
elkowar
4862db66ef Fix docs for :monitor list 2024-02-17 16:04:00 +01:00
elkowar
9ca98448cc Switch to stable rust 2024-02-17 13:21:05 +01:00
WilfSilver
65d622c81f Add window arguments (#431)
* Allow window definitions to have parameters

* Implement SimplExpr for all other window definition options

* Take gtk scaling into account when setting struts

* Cleanup

* Rename window_argumentss to instance_id_to_args

* Update docs to emphasis window arguments being constant

* Replace eww windows with active-windows and list-windows

* Fix extracting duration from string

* Format + reduce warnings

---------

Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
2023-12-20 21:04:38 +01:00
ElKowar
4f1f853b5f Improve flexibility of monitor configuration (#1003)
* Allow named monitors on wayland

* Allow list of monitor matchers
2023-12-20 16:59:39 +01:00
Eclipse222
fff40ce1a7 Update configuration.md (#894)
Cleared up the wayland section slightly :)
2023-12-11 11:26:39 +01:00
loqusion
77aeb5464d docs: fix minor typo (#888) 2023-12-11 11:25:46 +01:00
elkowar
4450ef55fa Add substring function 2023-08-18 10:46:12 +02:00
end-4
9d0b667dea Add trigonometric functions (#823) 2023-08-16 13:40:24 +02:00
elkowar
b31e397e97 Cleanup EWW_TIME API and code 2023-06-09 17:21:21 +02:00
Eren Önen
4d63f6deec add EWW_TIME magic variable (#792) 2023-06-09 17:17:41 +02:00
Chan Wei Qi
028f315ba8 docs: fix typo (#781)
Fixed a typo: withing --> within
2023-06-03 22:38:19 +02:00
ElKowar
992ac0b59a Add namespace window option (#723) 2023-03-26 12:26:49 +02:00
Azad
45154bbf59 Add regex match operator (=~) to documentation (#702) 2023-03-08 20:25:50 +01:00
ElKowar
7290b9bb8d Add jq function (#695) 2023-02-25 16:27:32 +01:00
Ezequiel Ramis
6b576c02ac Vanilla CSS support (#467)
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
2023-02-25 10:35:35 +01:00