diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-01-21 14:34:21 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-01-21 14:34:21 -0500 |
| commit | 2c0dd689145e48e9d3683dfd3556723895fa54aa (patch) | |
| tree | b2c37ae5136ec90c0f1fea16da6266857f886573 /config | |
| parent | remove config saving, make background scale properly, and add quickshell desk... (diff) | |
| download | caelestia-shell-2c0dd689145e48e9d3683dfd3556723895fa54aa.tar.gz caelestia-shell-2c0dd689145e48e9d3683dfd3556723895fa54aa.tar.bz2 caelestia-shell-2c0dd689145e48e9d3683dfd3556723895fa54aa.zip | |
Diffstat (limited to '')
| -rw-r--r-- | config/Config.qml | 21 | ||||
| -rw-r--r-- | config/GeneralConfig.qml | 21 | ||||
| -rw-r--r-- | config/LockConfig.qml | 14 |
3 files changed, 0 insertions, 56 deletions
diff --git a/config/Config.qml b/config/Config.qml index d9fb892..af1b5d9 100644 --- a/config/Config.qml +++ b/config/Config.qml @@ -21,7 +21,6 @@ Singleton { property alias osd: adapter.osd property alias session: adapter.session property alias winfo: adapter.winfo - property alias lock: adapter.lock property alias utilities: adapter.utilities property alias sidebar: adapter.sidebar property alias services: adapter.services @@ -42,7 +41,6 @@ Singleton { osd: serializeOsd(), session: serializeSession(), winfo: serializeWinfo(), - lock: serializeLock(), utilities: serializeUtilities(), sidebar: serializeSidebar(), services: serializeServices(), @@ -83,11 +81,6 @@ Singleton { playback: general.apps.playback, explorer: general.apps.explorer }, - idle: { - lockBeforeSleep: general.idle.lockBeforeSleep, - inhibitWhenAudio: general.idle.inhibitWhenAudio, - timeouts: general.idle.timeouts - }, battery: { warnLevels: general.battery.warnLevels, criticalLevel: general.battery.criticalLevel @@ -266,19 +259,6 @@ Singleton { }; } - function serializeLock(): var { - return { - recolourLogo: lock.recolourLogo, - enableFprint: lock.enableFprint, - maxFprintTries: lock.maxFprintTries, - sizes: { - heightMult: lock.sizes.heightMult, - ratio: lock.sizes.ratio, - centerWidth: lock.sizes.centerWidth - } - }; - } - function serializeUtilities(): var { return { enabled: utilities.enabled, @@ -382,7 +362,6 @@ Singleton { property OsdConfig osd: OsdConfig {} property SessionConfig session: SessionConfig {} property WInfoConfig winfo: WInfoConfig {} - property LockConfig lock: LockConfig {} property UtilitiesConfig utilities: UtilitiesConfig {} property SidebarConfig sidebar: SidebarConfig {} property ServiceConfig services: ServiceConfig {} diff --git a/config/GeneralConfig.qml b/config/GeneralConfig.qml index eecca01..08b29dd 100644 --- a/config/GeneralConfig.qml +++ b/config/GeneralConfig.qml @@ -2,7 +2,6 @@ import Quickshell.Io JsonObject { property Apps apps: Apps {} - property Idle idle: Idle {} property Battery battery: Battery {} component Apps: JsonObject { @@ -12,26 +11,6 @@ JsonObject { property list<string> explorer: ["thunar"] } - component Idle: JsonObject { - property bool lockBeforeSleep: true - property bool inhibitWhenAudio: true - property list<var> timeouts: [ - { - timeout: 180, - idleAction: "lock" - }, - { - timeout: 300, - idleAction: "dpms off", - returnAction: "dpms on" - }, - { - timeout: 600, - idleAction: ["systemctl", "suspend-then-hibernate"] - } - ] - } - component Battery: JsonObject { property list<var> warnLevels: [ { diff --git a/config/LockConfig.qml b/config/LockConfig.qml deleted file mode 100644 index 2af4e2c..0000000 --- a/config/LockConfig.qml +++ /dev/null @@ -1,14 +0,0 @@ -import Quickshell.Io - -JsonObject { - property bool recolourLogo: false - property bool enableFprint: true - property int maxFprintTries: 3 - property Sizes sizes: Sizes {} - - component Sizes: JsonObject { - property real heightMult: 0.7 - property real ratio: 16 / 9 - property int centerWidth: 600 - } -} |