diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | config/BarConfig.qml | 1 | ||||
| -rw-r--r-- | modules/bar/popouts/Audio.qml | 2 |
3 files changed, 3 insertions, 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": { diff --git a/config/BarConfig.qml b/config/BarConfig.qml index 498b2f5..4801f1a 100644 --- a/config/BarConfig.qml +++ b/config/BarConfig.qml @@ -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 {} diff --git a/modules/bar/popouts/Audio.qml b/modules/bar/popouts/Audio.qml index 28667ec..7afacb4 100644 --- a/modules/bar/popouts/Audio.qml +++ b/modules/bar/popouts/Audio.qml @@ -43,7 +43,7 @@ ColumnLayout { StateLayer { function onClicked(): void { root.wrapper.hasCurrent = false; - Quickshell.execDetached(["pavucontrol"]); + Quickshell.execDetached(["app2unit", "--", ...Config.bar.externalAudioProgram]); } } |