kRHYME7 / Hyde-cli

A HyDE CLI, wrapper, tweaks , workarounds, and more!
https://github.com/prasanthrangan/hyprdots
GNU General Public License v3.0
56 stars 4 forks source link

feature: Add a toggle mode for power #43

Closed rubiin closed 2 months ago

rubiin commented 2 months ago

Adding a toggle mode for power saver to quickly turn on power save.

doing a little alias thing for now

power-save() {
    if [[ $1 == "on" ]]; then
        Hyde power save -a -ba -b -o
    else
        Hyde power reset
    fi
}
rubiin commented 2 months ago

the toggle doesnt have to take an input , this was a hacky attempt .

kRHYME7 commented 2 months ago

Done

You should set what to disable first Hyde powe save --[options] then Hyde power toggle will handle the toggling for you.

rubiin commented 2 months ago

cool