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": {
|
"bar": {
|
||||||
"dragThreshold": 20,
|
"dragThreshold": 20,
|
||||||
|
"externalAudioProgram": ["pavucontrol"],
|
||||||
"persistent": true,
|
"persistent": true,
|
||||||
"showOnHover": true,
|
"showOnHover": true,
|
||||||
"status": {
|
"status": {
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ JsonObject {
|
||||||
property bool persistent: true
|
property bool persistent: true
|
||||||
property bool showOnHover: true
|
property bool showOnHover: true
|
||||||
property int dragThreshold: 20
|
property int dragThreshold: 20
|
||||||
|
property list<string> externalAudioProgram: ["pavucontrol"]
|
||||||
property Workspaces workspaces: Workspaces {}
|
property Workspaces workspaces: Workspaces {}
|
||||||
property Status status: Status {}
|
property Status status: Status {}
|
||||||
property Sizes sizes: Sizes {}
|
property Sizes sizes: Sizes {}
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ ColumnLayout {
|
||||||
StateLayer {
|
StateLayer {
|
||||||
function onClicked(): void {
|
function onClicked(): void {
|
||||||
root.wrapper.hasCurrent = false;
|
root.wrapper.hasCurrent = false;
|
||||||
Quickshell.execDetached(["pavucontrol"]);
|
Quickshell.execDetached(["app2unit", "--", ...Config.bar.externalAudioProgram]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue