| Crates.io | asus-waybar-module |
| lib.rs | asus-waybar-module |
| version | 0.1.0 |
| created_at | 2025-05-31 06:43:55.226663+00 |
| updated_at | 2025-05-31 06:43:55.226663+00 |
| description | Asus Waybar Profile Module |
| homepage | |
| repository | https://app.radicle.xyz/nodes/seed.let.software/rad:z2NyPw33oX3SsZVCA8htFQVqoFq52 |
| max_upload_size | |
| id | 1696101 |
| size | 5,709 |
Simple program that utilizes asusctl using sudo for being used as a waybar module.
name: profile name
tooltip: "Asus Power Profile"
class: "{lowercase_profile}"
Because this uses sudo, you have to add this line to your sudoers file using
sudo visudo, in order for it to be able to modify your Asus power profile
without requiring a password:
let ALL=(ALL) NOPASSWD: /usr/bin/asusctl *
Next, you simply have to install this program where Waybar's PATH can access this program.
This can be achieved using cargo with this command:
cargo install asus-waybar-module
Here is an example how you can add this to your Waybar config:
~/.config/waybar/config.jsonc "custom/asus": {
"tooltip": "Asus Power Profile",
"exec": "asus-waybar-module",
"exec-on-event": true,
"interval": "once",
"on-click": "asus-waybar-module cycle"
},