forked from Shinonome/dots-hyprland
108 lines
4.0 KiB
QML
108 lines
4.0 KiB
QML
import QtQuick
|
|
import Quickshell
|
|
pragma Singleton
|
|
pragma ComponentBehavior: Bound
|
|
|
|
Singleton {
|
|
property QtObject ai: QtObject {
|
|
property string systemPrompt: qsTr("Use casual tone. No user knowledge is to be assumed except basic Linux literacy. Be brief and concise: When explaining concepts, use bullet points (prefer minus sign (-) over asterisk (*)) and highlight keywords in bold to pinpoint the main concepts instead of long paragraphs. You are also encouraged to split your response with h2 headers, each header title beginning with an emoji, like `## 🐧 Linux`.")
|
|
}
|
|
|
|
property QtObject appearance: QtObject {
|
|
property int fakeScreenRounding: 1 // 0: None | 1: Always | 2: When not fullscreen
|
|
}
|
|
|
|
property QtObject apps: QtObject {
|
|
property string bluetooth: "better-control --bluetooth"
|
|
property string imageViewer: "loupe"
|
|
property string network: "XDG_CURRENT_DESKTOP=\"gnome\" gnome-control-center wifi"
|
|
property string settings: "XDG_CURRENT_DESKTOP=\"gnome\" gnome-control-center"
|
|
property string taskManager: "plasma-systemmonitor --page-name Processes"
|
|
property string terminal: "kitty -1" // This is only for shell actions
|
|
}
|
|
|
|
property QtObject battery: QtObject {
|
|
property int low: 20
|
|
property int critical: 5
|
|
property int suspend: 2
|
|
}
|
|
|
|
property QtObject bar: QtObject {
|
|
property bool bottom: false // Instead of top
|
|
property bool borderless: true
|
|
property string topLeftIcon: "spark" // Options: distro, spark
|
|
property bool showBackground: true
|
|
property QtObject resources: QtObject {
|
|
property bool alwaysShowSwap: true
|
|
property bool alwaysShowCpu: false
|
|
}
|
|
property QtObject workspaces: QtObject {
|
|
property int shown: 10
|
|
property bool alwaysShowNumbers: false
|
|
property int showNumberDelay: 150 // milliseconds
|
|
}
|
|
}
|
|
|
|
property QtObject dock: QtObject {
|
|
property bool enable: false
|
|
property real height: 60
|
|
property real hoverRegionHeight: 3
|
|
property bool pinnedOnStartup: false
|
|
property list<string> pinnedApps: [ // IDs of pinned entries
|
|
"org.kde.dolphin",
|
|
]
|
|
}
|
|
|
|
property QtObject networking: QtObject {
|
|
property string userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
|
|
}
|
|
|
|
property QtObject osd: QtObject {
|
|
property int timeout: 1000
|
|
}
|
|
|
|
property QtObject osk: QtObject {
|
|
property string layout: "qwerty_full"
|
|
property bool pinnedOnStartup: false
|
|
}
|
|
|
|
property QtObject overview: QtObject {
|
|
property real scale: 0.18 // Relative to screen size
|
|
property real numOfRows: 2
|
|
property real numOfCols: 5
|
|
property bool showXwaylandIndicator: true
|
|
}
|
|
|
|
property QtObject resources: QtObject {
|
|
property int updateInterval: 3000
|
|
}
|
|
|
|
property QtObject search: QtObject {
|
|
property int nonAppResultDelay: 30 // This prevents lagging when typing
|
|
property string engineBaseUrl: "https://www.google.com/search?q="
|
|
property list<string> excludedSites: [ "quora.com" ]
|
|
property bool sloppy: false // Uses levenshtein distance based scoring instead of fuzzy sort. Very weird.
|
|
property QtObject prefix: QtObject {
|
|
property string action: "/"
|
|
property string clipboard: ";"
|
|
property string emojis: ":"
|
|
}
|
|
}
|
|
|
|
property QtObject sidebar: QtObject {
|
|
property QtObject booru: QtObject {
|
|
property bool allowNsfw: false
|
|
property string defaultProvider: "yandere"
|
|
property int limit: 20
|
|
property QtObject zerochan: QtObject {
|
|
property string username: "[unset]"
|
|
}
|
|
}
|
|
}
|
|
|
|
property QtObject hacks: QtObject {
|
|
property int arbitraryRaceConditionDelay: 20 // milliseconds
|
|
}
|
|
|
|
}
|