diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-02 17:09:55 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-02 17:09:55 +1000 |
| commit | 6fe2903d750a26b9a0a9cf965b11ecc0f7ab4df4 (patch) | |
| tree | 15e6b281d09c3ec452084348459e0980334a822f /config | |
| parent | dashboard: better no media (diff) | |
| download | caelestia-shell-6fe2903d750a26b9a0a9cf965b11ecc0f7ab4df4.tar.gz caelestia-shell-6fe2903d750a26b9a0a9cf965b11ecc0f7ab4df4.tar.bz2 caelestia-shell-6fe2903d750a26b9a0a9cf965b11ecc0f7ab4df4.zip | |
config: add apps config
Closes #318 and #305
Diffstat (limited to 'config')
| -rw-r--r-- | config/BarConfig.qml | 1 | ||||
| -rw-r--r-- | config/Config.qml | 2 | ||||
| -rw-r--r-- | config/GeneralConfig.qml | 10 |
3 files changed, 12 insertions, 1 deletions
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<string> 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<string> terminal: ["foot"] + property list<string> audio: ["pavucontrol"] + } +} |