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

View File

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

View File

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

View File

@ -5,11 +5,9 @@ Item {
id: root
clip: true
// This was already correct in your last file, but keep it this way!
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
Row {

View File

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

View File

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

View File

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

View File

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