feat: use Quickshell-internal idle inhibitor

This was a pain to set up properly...
This commit is contained in:
Kiana Sheibani 2025-11-11 00:33:44 -05:00
parent e82bdbc9a2
commit c9e7e7022b
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
4 changed files with 17 additions and 32 deletions

View file

@ -23,7 +23,7 @@ ColumnLayout {
Toggle {
label.text: qsTr("Inhibit While Playing Audio")
checked: Idle.inhibitPipewire
toggle.onToggled: Idle.toggleInhibitPipewire()
toggle.onToggled: Idle.inhibitPipewire = !Idle.inhibitPipewire
}
component Toggle: RowLayout {