From 6fe2903d750a26b9a0a9cf965b11ecc0f7ab4df4 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 2 Aug 2025 17:09:55 +1000 Subject: config: add apps config Closes #318 and #305 --- config/BarConfig.qml | 1 - config/Config.qml | 2 ++ config/GeneralConfig.qml | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 config/GeneralConfig.qml (limited to 'config') diff --git a/config/BarConfig.qml b/config/BarConfig.qml index 4801f1a..498b2f5 100644 --- a/config/BarConfig.qml +++ b/config/BarConfig.qml @@ -4,7 +4,6 @@ JsonObject { property bool persistent: true property bool showOnHover: true property int dragThreshold: 20 - property list externalAudioProgram: ["pavucontrol"] property Workspaces workspaces: Workspaces {} property Status status: Status {} property Sizes sizes: Sizes {} diff --git a/config/Config.qml b/config/Config.qml index 8756a12..ea7f3f4 100644 --- a/config/Config.qml +++ b/config/Config.qml @@ -7,6 +7,7 @@ import Quickshell.Io Singleton { id: root + property alias general: adapter.general property alias background: adapter.background property alias bar: adapter.bar property alias border: adapter.border @@ -30,6 +31,7 @@ Singleton { JsonAdapter { id: adapter + property GeneralConfig general: GeneralConfig {} property BackgroundConfig background: BackgroundConfig {} property BarConfig bar: BarConfig {} property BorderConfig border: BorderConfig {} diff --git a/config/GeneralConfig.qml b/config/GeneralConfig.qml new file mode 100644 index 0000000..4e2a5fb --- /dev/null +++ b/config/GeneralConfig.qml @@ -0,0 +1,10 @@ +import Quickshell.Io + +JsonObject { + property Apps apps: Apps {} + + component Apps: JsonObject { + property list terminal: ["foot"] + property list audio: ["pavucontrol"] + } +} -- cgit v1.2.3-freya