| Crates.io | waypwr |
| lib.rs | waypwr |
| version | 0.1.1 |
| created_at | 2025-02-10 18:09:54.423513+00 |
| updated_at | 2025-02-10 19:57:56.257773+00 |
| description | A power menu for Wayland |
| homepage | https://github.com/tukanoidd/waypwr/ |
| repository | https://github.com/tukanoidd/waypwr/ |
| max_upload_size | |
| id | 1550464 |
| size | 190,861 |
Wayland power menu

Existing implementations are either written in C/Zig/Nim or using GTK in Rust. I'm a NixOS user, and gtk styling has always been a sore spot for me, so I wanted to have something more reliable as a GUI backend (Iced in this case) and, of course, written in my favorite language, which is Rust.
I use directorties to get initial config dir, so it's either
$XDG_CONFIG_HOME/waypwr/config.toml or $HOME/.config/waypwr/config.toml.
Don't worry, the initial startup will create a default one for you!
theme - it can be set to any one of these,
except for Custom one, in kebab-case.lock, log_out, hibernate, reboot, shutdown)[actions]
log_out = {type = "dbus"} # default
lock = {type = "cmd", value = ["hyprlock"]}
Absolutely! With --config flag.
Same, with --theme flag.
Esc || 'Q'
Idk, my needs are simple, I just wanted something that just works and does not mess up it's styling out of nowhere (primarily happens with gtk-based applications on NixOS for me), so I don't plan to add anything fancy, but I'm always open to suggestions and PRs!