pragma Singleton import QtQuick import Quickshell import Quickshell.Io Singleton { id: timeRoot readonly property int barSize: 35 readonly property double heightGaps: barSize * 0.8 readonly property string fontFamily: "Noto Sans" readonly property string fontFamilyMono: "SauceCodePro Nerd Font Mono" readonly property int pixelSize: 14 readonly property int gaps: 5 readonly property int animationDuration: 200 // Colors FileView { id: walColors path: Qt.resolvedUrl("/home/amaro/.cache/wal/colors") blockLoading: true watchChanges: true onFileChanged: this.reload() } readonly property var walColorsText: walColors.text().split('\n') readonly property double barOpacity: 0.2 readonly property color backgroudColor: walColorsText[0] readonly property color color2: walColorsText[1] readonly property color color3: walColorsText[2] readonly property color color4: walColorsText[3] readonly property color color5: walColorsText[4] readonly property color color6: walColorsText[5] readonly property color color7: walColorsText[6] readonly property color foregroundColor: walColorsText[7] readonly property color backgroudColorBright: walColorsText[8] readonly property color color2Bright: walColorsText[9] readonly property color color3Bright: walColorsText[10] readonly property color color4Bright: walColorsText[11] readonly property color color5Bright: walColorsText[12] readonly property color color6Bright: walColorsText[13] readonly property color color7Bright: walColorsText[14] readonly property color foregroundColorBright: walColorsText[15] readonly property color textColor: foregroundColorBright // background "#0e1721" // color2 "#463e44" // color3 "#7b4834" // color4 "#735148" // color5 "#896451" // color6 "#9d7057" // color7 "#595563" // foreground "#91959b" // "#5d6772" // "#5E535B" // "#A56046" // "#9A6C60" // "#B7866C" // "#D29674" // "#777285" // "#c2c5c7" }