chore: upd

This commit is contained in:
2026-01-24 00:23:54 +02:00
parent 31ea8d7616
commit 1a37e76c4a
6 changed files with 39 additions and 9 deletions

View File

@@ -9,8 +9,8 @@ top bar:
option items: option items:
selected: #ffc90e selected: #ffc90e
unselected: #614e6b unselected: #614e6b
gap: 76px gap: 76
top: 45px top: 45
selection soul offset frop top left: selection soul offset frop top left:
x: 19 x: 19
@@ -26,4 +26,11 @@ top bar:
offset x: 2 offset x: 2
offset y: 2 offset y: 2
color: #04047C color: #04047C
settings:
with 9slice borders:
x: 1217
y: 767
without:
x: 1154
y: 504

View File

@@ -7,6 +7,7 @@ Item {
id: topbar id: topbar
implicitWidth: 1312 implicitWidth: 1312
implicitHeight: 182 implicitHeight: 182
anchors.centerIn: parent anchors.centerIn: parent
property var iconSources: ["item.png", "equip.png", "power.png", "config.png"] property var iconSources: ["item.png", "equip.png", "power.png", "config.png"]
@@ -31,6 +32,7 @@ Item {
Image { Image {
source: "./topbar/setting_names/" + topbar.iconSources[topbar.selectedIndex] source: "./topbar/setting_names/" + topbar.iconSources[topbar.selectedIndex]
x: -64
} }
FocusScope { FocusScope {
@@ -46,6 +48,7 @@ Item {
spacing: 76 spacing: 76
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
y: 45 y: 45
anchors.horizontalCenterOffset: -38
Repeater { Repeater {
model: topbar.iconSources model: topbar.iconSources

View File

@@ -4,11 +4,12 @@ import QtQuick
Item { Item {
Text { Text {
x: 1064 + 117 x: 1064 + 117 - 75
y: 37 + 9 y: 37 + 9 + 1
color: "#ffffff" color: "#ffffff"
text: "D$ 4294" text: "D$ 4294"
font.pixelSize: 64 font.pixelSize: 16 * 4 // nearest to 72
antialiasing: false
font.family: "8bitoperator JVE" font.family: "8bitoperator JVE"
} }

19
Shell/Window/Window.qml Normal file
View File

@@ -0,0 +1,19 @@
import Quickshell
import Quickshell.Wayland
import QtQuick
PanelWindow {
WlrLayershell.layer: WlrLayer.Top
WlrLayershell.focusable: true
WlrLayershell.keyboardFocus: WlrKeyboardFocus.OnDemand
WlrLayershell.namespace: "deltarune-quickshell"
visible: true
exclusionMode: ExclusionMode.Ignore
aboveWindows: true
focusable: true
implicitWidth: 1217
implicitHeight: 767
color: "#000000"
}

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -22,7 +22,7 @@ ShellRoot {
triggerDescription: "Toggle the menu" triggerDescription: "Toggle the menu"
name: "shell_toggle" name: "shell_toggle"
onReleased: { onReleased: {
ShellStateManager.toggleShell() ShellStateManager.toggleShell();
} }
} }
@@ -30,10 +30,10 @@ ShellRoot {
target: "deltarune.shell" target: "deltarune.shell"
enabled: true enabled: true
function open(): void { function open(): void {
ShellStateManager.openShell() ShellStateManager.openShell();
} }
function close(): void { function close(): void {
ShellStateManager.closeShell() ShellStateManager.closeShell();
} }
} }
} }