parent
01fea1d886
commit
c1be0f0ccb
3 changed files with 3 additions and 1 deletions
|
|
@ -156,6 +156,7 @@ All configuration options are in `~/.config/caelestia/shell.json`.
|
|||
},
|
||||
"bar": {
|
||||
"dragThreshold": 20,
|
||||
"externalAudioProgram": ["pavucontrol"],
|
||||
"persistent": true,
|
||||
"showOnHover": true,
|
||||
"status": {
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ JsonObject {
|
|||
property bool persistent: true
|
||||
property bool showOnHover: true
|
||||
property int dragThreshold: 20
|
||||
property list<string> externalAudioProgram: ["pavucontrol"]
|
||||
property Workspaces workspaces: Workspaces {}
|
||||
property Status status: Status {}
|
||||
property Sizes sizes: Sizes {}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ ColumnLayout {
|
|||
StateLayer {
|
||||
function onClicked(): void {
|
||||
root.wrapper.hasCurrent = false;
|
||||
Quickshell.execDetached(["pavucontrol"]);
|
||||
Quickshell.execDetached(["app2unit", "--", ...Config.bar.externalAudioProgram]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue