Volume/bar: Right click opens pwvucontrol.
This commit is contained in:
parent
a97913fd63
commit
2d5bebb969
1 changed files with 11 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import Quickshell
|
import Quickshell
|
||||||
|
import Quickshell.Io
|
||||||
import Quickshell.Services.Pipewire
|
import Quickshell.Services.Pipewire
|
||||||
import qs.Commons
|
import qs.Commons
|
||||||
import qs.Modules.SettingsPanel
|
import qs.Modules.SettingsPanel
|
||||||
|
|
@ -75,5 +76,15 @@ Item {
|
||||||
settingsPanel.requestedTab = SettingsPanel.Tab.AudioService
|
settingsPanel.requestedTab = SettingsPanel.Tab.AudioService
|
||||||
settingsPanel.open(screen)
|
settingsPanel.open(screen)
|
||||||
}
|
}
|
||||||
|
onRightClicked : {
|
||||||
|
pwvucontrolProcess.running = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check for wlsunset availability when enabling Night Light
|
||||||
|
Process {
|
||||||
|
id: pwvucontrolProcess
|
||||||
|
command: ["pwvucontrol"]
|
||||||
|
running: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue