28 lines
892 B
QML
28 lines
892 B
QML
pragma Singleton
|
|
import QtCore
|
|
import QtQuick
|
|
import Quickshell
|
|
|
|
Singleton {
|
|
id: root
|
|
property string font: "Adwaita Mono Nerd Font Propo"
|
|
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: "DP-2"
|
|
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 roudning: root.rounding
|
|
property alias wallpaper: root.wallpaper
|
|
property alias opacity: root.opacity
|
|
property string primaryMon: root.primaryMon
|
|
}
|
|
}
|