diff options
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"] + } +} |