44 Commits

Author SHA1 Message Date
Cyclic
3631b67496 Create ewwii.scss 2025-10-12 14:47:54 +00:00
Cyclic
b118409e83 setup new example rhai 2025-10-12 14:47:12 +00:00
Byson94
c446321173 feat: making examples in readme look good 2025-10-11 15:34:14 +05:30
Byson94
34546e5528 feat: removed centerbox widget 2025-10-03 18:25:04 +05:30
Byson94
e767cde945 feat: many internal changes regarding enter(..)
1. Made it so that there wont be any error if user didnt return anything
2. Added support for defining multiple enter(..)
3. Added support for merging multiple enter(..)
2025-09-05 10:18:27 +05:30
Byson94
39912d3f46 feat(MAJOR): removed the need for dyn_id
This is a very very very big update for UX! Ewwii finally has support
for automatically assigning `dyn_id`.

This was actually not as hard as I thought! I just had to mutate the
widget AST and inject a `dyn_id` in based on its parent.

It works soooo well and the burden on the user just reduced sooo much!
2025-09-03 16:49:46 +05:30
Byson94
c551b22bf8 feat: removed modules example 2025-09-02 19:36:42 +05:30
Byson94
efe91703b5 feat: removed .yuck files from ewwii examples 2025-08-18 20:20:43 +05:30
Byson94
654bb95f90 feat: did some stuff that could possible make create widget work 2025-08-18 11:14:32 +05:30
Byson94
2e57d8cc7d feat: added prop dyn support to more widgets 2025-08-17 12:28:53 +05:30
Byson94
f6be84f0a9 feat: added modules example 2025-08-12 20:01:26 +05:30
Byson94
931e0f858e feat: added data-structs example 2025-08-11 21:13:49 +05:30
Byson94
2aa79e15b7 Replaced example screenshot 2025-08-11 19:10:11 +05:30
Byson94
2371a208c1 feat: added example, fixed small bugs 2025-08-10 18:53:57 +05:30
Byson94
eceb5eb7b3 hell: I AM SORRY! I CAUSED PAIN UPON ALL USERS
I MADE KEYS A REQUIRED FACTOR FOR DYNAMIC UPDATES.... I AM REALLY SORRY, I HAD NO OTHER OPTIONS OTHAT THAN THIS MAJOR UX FLAW...
2025-08-09 09:42:56 +05:30
Byson94
a7f6929186 feat: Added example 2025-08-06 20:26:34 +05:30
Byson94
720f19abe6 feat: supported creating gtk labels in rhai 2025-07-31 21:19:58 +05:30
Byson94
d7548392dd refactor: replacing yuck references with rhai 2025-07-25 19:46:54 +05:30
Byson94
41ed3688fe chore: replaced iirhai with the latest code from rhai-dlt 2025-07-25 19:07:34 +05:30
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
István Donkó
bb916c652b Clean up example SCSS file (#644) 2024-09-03 14:33:37 +02:00
PrettyCoffee
96529d37fa docs: Add example for data structures (#595) 2024-08-25 16:24:31 +02:00
elkowar
44fa18367e make getvol use pamixer 2023-08-03 16:45:45 +02:00
elkowar
a470bb816f make getvol script nicer and work without amixer 2023-07-29 21:14:09 +02:00
elkowar
e733d4e1e4 Remove redundant getram script (fixes #782) 2023-06-09 16:33:24 +02:00
elkowar
baad2bf8d2 Fix ram usage in example 2021-09-12 12:03:10 +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
1e1c0fcce3 cleanup example 2021-08-17 12:02:29 +02:00
elkowar
a464a849f1 Add --toggle to open window 2021-07-31 17:45:59 +02:00
elkowar
24c9fee204 Fully implement string interpolation with ${} syntax 2021-07-31 13:44:23 +02:00
elkowar
5cde0228fb Allow for string-interpolation in simplexpr 2021-07-30 16:33:28 +02:00
elkowar
cf25f9eddb Fix window definition example code 2021-07-28 20:20:41 +02:00
elkowar
6f1118bda4 Improve error messages for unread elements in nodes and fix span handling in ast iterator 2021-07-28 19:58:51 +02:00
elkowar
99fd51dc12 Improve error messages for unknown variables in evalerror 2021-07-27 17:24:40 +02:00
elkowar
01c7ba6e2a Add alternative string syntax with single quotes and backticks 2021-07-27 00:11:16 +02:00
elkowar
e698fd315e Fix multi-point unicode glyphs in yuck lexer 2021-07-26 23:10:01 +02:00
elkowar
de8c79bc7d Add magic variables again 2021-07-26 22:43:33 +02:00
Midnight Exigent
31730bea32 Set _NET_WM_WINDOW_TYPE and related fields properly (#176)
* add windowtype attribute to window tag. set _NET_WM_WINDOW_TYPE property for x11

* up

* remove strum and strum_macros dependencies

* Update configuration.md

* Update window_definition.rs

* Update window_definition.rs

should work now

Co-authored-by: Midnight Exigent <6959267-midnightexigent@users.noreply.gitlab.com>
2021-07-15 13:37:50 +02:00
snakedye
9ea20cd753 Proper wayland support (#125)
* Initial commit for wayland support

* Improvements to Wayland backend, structs and enums

* gtk-layer-shell-rs imported

* Eww compiles with wayland backend

* Full layershell support

* Compatibility with x11 backend

* updated docs and better compatibily with X config

* error in example

* "screen" in config works

* Updated documentation

* bar example for wayland

* eww follow focus when screen is undefined

* NumWithUnit

* Removed SurfaceDefinition for StrutDefinition
again...

* cargo fmt

* fix match statement for screen number

* fix focusable / kb interactivity

* revision #2

* fix: compile error and example

* feat: I fixed the deps
X11 doesn't compile because of some x11 fuckery

* fix: x11 fuckery
PR NOW REEEEEEEEEEEEEEEEEEEEEEEEE

* fix conflics and cargo fmt

* i can't read

* conflicts: a never ending loop...

* dammit ptr

* conflicts: Cargo.lock

* Expression language (#124)

* Add AST

* add make-shift testing parser, and make stuff ocmpile

* add proper expression parser

* make string format use '

* Add empty doc page for expressions

* add tests

* Clean up file structure and add unary operators

* Write documentation

* make multiple daemons possible and make commands time out

* Add EwwPaths struct and refactor path handling in general

* Update docs to include <reserve>

* Improve handling of paths and daemon-ids

* Add elvis operator

* Allow literal-tag content to use user-defined widgets

* Add support for overriding monitor in CLI

* change formatting config

* Improve error messages for non-existant config dir

* Added tooltips (#127)

* update dependencies

* Explicetely states where to look for installing eww (#131)

I think this should be added, because we already had a couple of people opening issues because they didn't read the docs on how to install eww.

* (Very) Rudimentry gif support (#143)

* rudimentry gif support

* revert main.rs

* Fix variable reference detection, should fix #144

* cleanup TextPos in eww debug

* Manually resolve escaped symbols in xml.

This shouldn't be necesary.
Fixes #154 and fixes #147

* Add JSON support for exprs (fixes #146)

* Add docs for json values and make value related names shorter

* Add animated icon

* Initial commit for wayland support

* Improvements to Wayland backend, structs and enums

* gtk-layer-shell-rs imported

* Eww compiles with wayland backend

* Full layershell support

* Compatibility with x11 backend

* updated docs and better compatibily with X config

* "screen" in config works

* Updated documentation

* eww follow focus when screen is undefined

* Removed SurfaceDefinition for StrutDefinition
again...

* cargo fmt

* fix match statement for screen number

* fix focusable / kb interactivity

* revision #2

* fix: compile error and example

* feat: I fixed the deps
X11 doesn't compile because of some x11 fuckery

* fix conflics and cargo fmt

* i can't read

* conflicts: a never ending loop...

* dammit ptr

* conflicts: Cargo.lock

* yeeting git syntax

* trying to resolve conflicts

* yeeting Cargo.lock...

* i try

* revision: removing duplicates

* fix geometry, example and improving docs

* clearing up the documentation

* I forgot the scss file.
I also edited the bar to take advantage of eww expressions.

* more yeeting and moved exclusive to window

Co-authored-by: Bryan Ndjeutcha <ndjeutcha@gmail.com>
Co-authored-by: ElKowar <5300871+elkowar@users.noreply.github.com>
Co-authored-by: undefinedDarkness <38278035+undefinedDarkness@users.noreply.github.com>
Co-authored-by: legendofmiracles <30902201+legendofmiracles@users.noreply.github.com>
2021-05-03 21:14:34 +02:00
elkowar
9238688774 Implement struts 2021-02-17 16:42:54 +01:00
elkowar
cddcea7fe6 Improve readme 2021-02-10 20:43:18 +01:00
Axarva
827d47b26e Provide an example configuration (with space for more!) (#99) 2021-02-05 21:51:06 +01:00