No description
Find a file
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
.github System Tray (#743) 2024-03-30 10:55:01 +01:00
crates Implement explicitly setting a center of rotation (#783) 2024-09-03 14:34:39 +02:00
docs Fixing missing commas in example (#1174) 2024-08-28 19:29:27 +02:00
examples Clean up example SCSS file (#644) 2024-09-03 14:33:37 +02:00
.editorconfig CI/CD & Formatting (#6) 2020-10-18 23:25:00 +02:00
.gitignore heavily refactor nix flake (#532) 2022-08-21 23:09:54 +02:00
Cargo.lock fix: make formattime follow system locale (#1177) 2024-08-28 10:29:52 +02:00
Cargo.toml chore: update derive_more to 1.0 2024-08-24 12:26:24 +02:00
CHANGELOG.md Implement explicitly setting a center of rotation (#783) 2024-09-03 14:34:39 +02:00
default.nix nix: switch to nixfmt-rfc-style 2024-08-24 12:26:24 +02:00
flake.lock chore: update toolchain to 1.80.1 2024-08-24 12:26:24 +02:00
flake.nix docs: update zbus-xmlgen generation commands; add zbus-xmlgen to development shell 2024-08-24 12:26:24 +02:00
gen-docs.ts Fix some types missing in widget docs 2022-05-26 15:00:34 +02:00
LICENSE Add MIT license 2020-10-18 23:25:48 +02:00
README.md docs(readme): improve spacing (#886) 2024-08-28 19:21:31 +02:00
rust-toolchain.toml chore: update toolchain to 1.80.1 2024-08-24 12:26:24 +02:00
rustfmt.toml Remove nightly options from rustfmt.toml 2024-02-17 14:14:46 +01:00
shell.nix nix: switch to nixfmt-rfc-style 2024-08-24 12:26:24 +02:00
YUCK_MIGRATION.md Clean up example bar 2021-08-18 16:21:04 +02:00

dependency status

Eww

Elkowars Wacky Widgets is a standalone widget system made in Rust that allows you to implement your own, custom widgets in any window manager.

Documentation and instructions on how to install can be found here.

Dharmx also wrote a nice, beginner friendly introductory guide for eww here.

Eww needs your opinion!

I've hit a bit of a design roadblock for one of the bigger features that are in the works right now.

Please read through https://github.com/elkowar/eww/discussions/453 and share your thoughts, ideas and opinions!

Examples

(Note that some of these still make use of the old configuration syntax.)

Rxyhn-rice

eww-top-bar

Contribewwting

If you want to contribute anything, like adding new widgets, features, or subcommands (including sample configs), you should definitely do so.

Steps

  1. Fork this repository
  2. Install dependencies
  3. Smash your head against the keyboard from frustration (coding is hard)
  4. Write down your changes in CHANGELOG.md
  5. Open a pull request once you're finished