33 lines
1.1 KiB
QML
33 lines
1.1 KiB
QML
pragma Singleton
|
|
import QtCore
|
|
import QtQuick
|
|
import Quickshell
|
|
|
|
Singleton {
|
|
id: root
|
|
property string font: "Maple Mono"
|
|
property int fontSize: 12
|
|
property int iconSize: 14
|
|
property int barHeight: 30
|
|
property int rounding: 16
|
|
property url wallpaper: "file:///home/lucy/.walls/frierensuff.png"
|
|
property bool floating: false
|
|
property double opacity: 1.0
|
|
property string primaryMon: "eDP-1"
|
|
property string wallDir: "file://" + Quickshell.env("HOME") + "/.walls"
|
|
property bool showCorners: true
|
|
Settings {
|
|
|
|
location: Qt.resolvedUrl("file:///home/lucy/.config/quickshell/settings/settings.ini")
|
|
property alias font: root.font
|
|
property alias fontSize: root.fontSize
|
|
property alias barHeight: root.barHeight
|
|
property alias rounding: root.rounding
|
|
property alias wallpaper: root.wallpaper
|
|
property alias opacity: root.opacity
|
|
property alias primaryMon: root.primaryMon
|
|
property alias floating: root.floating
|
|
property alias wallDir: root.wallDir
|
|
property alias showCorners: root.showCorners
|
|
}
|
|
}
|