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:
selected: #ffc90e
unselected: #614e6b
gap: 76px
top: 45px
gap: 76
top: 45
selection soul offset frop top left:
x: 19
@@ -27,3 +27,10 @@ top bar:
offset y: 2
color: #04047C
settings:
with 9slice borders:
x: 1217
y: 767
without:
x: 1154
y: 504

View File

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

View File

@@ -4,11 +4,12 @@ import QtQuick
Item {
Text {
x: 1064 + 117
y: 37 + 9
x: 1064 + 117 - 75
y: 37 + 9 + 1
color: "#ffffff"
text: "D$ 4294"
font.pixelSize: 64
font.pixelSize: 16 * 4 // nearest to 72
antialiasing: false
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"
name: "shell_toggle"
onReleased: {
ShellStateManager.toggleShell()
ShellStateManager.toggleShell();
}
}
@@ -30,10 +30,10 @@ ShellRoot {
target: "deltarune.shell"
enabled: true
function open(): void {
ShellStateManager.openShell()
ShellStateManager.openShell();
}
function close(): void {
ShellStateManager.closeShell()
ShellStateManager.closeShell();
}
}
}