fix some things?

This commit is contained in:
lucy 2026-01-13 12:12:16 +01:00
parent be45e63c77
commit 2dd9e27ce1
8 changed files with 32 additions and 40 deletions

View File

@ -5,25 +5,25 @@ import Quickshell
Singleton { Singleton {
id: customColors id: customColors
// Core Backgrounds // Core Backgrounds
readonly property color background: "#1A1B26" readonly property color background: "#24273A"
readonly property color foreground: "#C0CAF5" readonly property color foreground: "#CAD3F5"
readonly property color cursor: "#C0CAF5" readonly property color cursor: "#CAD3F5"
// The 16 Colors of the Apocalypse // The 16 Colors of the Apocalypse
readonly property color color0: "#414868" readonly property color color0: "#494D64"
readonly property color color1: "#F7768E" readonly property color color1: "#ED8796"
readonly property color color2: "#9ECE6A" readonly property color color2: "#A6DA95"
readonly property color color3: "#E0AF68" readonly property color color3: "#EED49F"
readonly property color color4: "#7AA2F7" readonly property color color4: "#8AADF4"
readonly property color color5: "#BB9AF7" readonly property color color5: "#F5BDE6"
readonly property color color6: "#7DCFFF" readonly property color color6: "#8BD5CA"
readonly property color color7: "#A9B1D6" readonly property color color7: "#B8C0E0"
readonly property color color8: "#414868" readonly property color color8: "#5B6078"
readonly property color color9: "#F7768E" readonly property color color9: "#ED8796"
readonly property color color10: "#9ECE6A" readonly property color color10: "#A6DA95"
readonly property color color11: "#E0AF68" readonly property color color11: "#EED49F"
readonly property color color12: "#7AA2F7" readonly property color color12: "#8AADF4"
readonly property color color13: "#BB9AF7" readonly property color color13: "#F5BDE6"
readonly property color color14: "#7DCFFF" readonly property color color14: "#8BD5CA"
readonly property color color15: "#C0CAF5" readonly property color color15: "#A5ADCB"
} }

View File

@ -36,16 +36,9 @@ PanelWindow {
spacing: 40 spacing: 40
anchors.right: parent.right anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
Loader { Battery {}
sourceComponent: Battery {} Volume {}
} PowerProfiles {}
Loader {
sourceComponent: Volume {}
}
Loader {
sourceComponent: PowerProfiles {}
}
SystemTray { SystemTray {
Layout.rightMargin: 30 Layout.rightMargin: 30
} }

View File

@ -15,6 +15,7 @@ Item {
property bool isCharging: UPower.displayDevice.state === UPowerDeviceState.Charging property bool isCharging: UPower.displayDevice.state === UPowerDeviceState.Charging
ColumnLayout { ColumnLayout {
id: masterLayout id: masterLayout
anchors.centerIn: parent
implicitWidth: botText.width implicitWidth: botText.width
spacing: 0 spacing: 0
Row { Row {

View File

@ -5,11 +5,9 @@ Item {
id: root id: root
clip: true clip: true
// This was already correct in your last file, but keep it this way!
implicitWidth: layout.implicitWidth < 0 ? 0 : layout.implicitWidth implicitWidth: layout.implicitWidth < 0 ? 0 : layout.implicitWidth
implicitHeight: 30 implicitHeight: 34
// Hide if empty so we don't have a 50px gap for nothing
visible: layout.children.length > 0 visible: layout.children.length > 0
Row { Row {

View File

@ -55,7 +55,7 @@ Item {
id: styleLayout id: styleLayout
anchors.centerIn: parent anchors.centerIn: parent
spacing: 0 spacing: 0
implicitWidth: botText.width implicitWidth: topText.width
Row { Row {
spacing: 5 spacing: 5

View File

@ -29,7 +29,7 @@ Singleton {
id: jsonAdapter id: jsonAdapter
property string currentWall: "" property string currentWall: ""
property string wallDir: "/home/lucy/.walls/" property string wallDir: "/home/lucy/.walls/"
property string font: "Google Sans" property string font: "Google Sans Code"
property real fontSize: 14 property real fontSize: 14
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"currentWall": "file:///home/lucy/.walls/ayanami.png", "currentWall": "file:///home/lucy/.walls/lain_room.png",
"font": "SFMono Nerd Font Propo", "font": "Google Sans Code",
"fontSize": 13, "fontSize": 14,
"wallDir": "/home/lucy/.walls/" "wallDir": "/home/lucy/.walls/"
} }

View File

@ -8,9 +8,9 @@ import "."
WlrLayershell { WlrLayershell {
id: overlayRoot id: overlayRoot
required property var modelData required property var modelData
property var padding: 0 property var padding: 5
property var rounding: 25 property var rounding: 25
property var hyprgaps: 20 property var hyprgaps: 5
onPaddingChanged: { onPaddingChanged: {
hyprGaps.exec(hyprGaps.command); hyprGaps.exec(hyprGaps.command);
console.log(hyprGaps.command); console.log(hyprGaps.command);
@ -28,7 +28,7 @@ WlrLayershell {
} }
Process { Process {
id: hyprRounding id: hyprRounding
property var rounding: overlayRoot.rounding property var rounding: overlayRoot.rounding - 4
running: true running: true
command: ["hyprctl", "keyword", "decoration:rounding", rounding] command: ["hyprctl", "keyword", "decoration:rounding", rounding]
onStarted: console.log("set rounding to ", overlayRoot.rounding) onStarted: console.log("set rounding to ", overlayRoot.rounding)