Reorganize Fedora dotfiles and remove legacy profile

This commit is contained in:
Mikhail Kilin
2026-07-25 12:38:39 +03:00
parent a601a53660
commit 6cb1d53a70
75 changed files with 2146 additions and 3974 deletions

View File

@@ -0,0 +1,36 @@
import QtQuick
import Quickshell
import Quickshell.Io
QtObject {
id: root
property alias temperatureInterval: values.temperatureInterval
property alias temperatureWarning: values.temperatureWarning
property alias temperatureCritical: values.temperatureCritical
function setTemperatureWarning(value) {
root.temperatureWarning = Math.min(value, root.temperatureCritical - 1);
}
function setTemperatureCritical(value) {
root.temperatureCritical = Math.max(value, root.temperatureWarning + 1);
}
property FileView settingsFile: FileView {
path: Quickshell.statePath("control-center.json")
printErrors: false
watchChanges: true
onFileChanged: reload()
onAdapterUpdated: writeAdapter()
JsonAdapter {
id: values
property int temperatureInterval: 2000
property int temperatureWarning: 75
property int temperatureCritical: 90
}
}
}