chore: stuff
BIN
Apps/SystemInfo/Delta_Rune.png
Normal file
|
After Width: | Height: | Size: 378 KiB |
36
Apps/SystemInfo/SystemInfoWindow.qml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
import Quickshell
|
||||||
|
import QtQuick
|
||||||
|
|
||||||
|
FloatingWindow {
|
||||||
|
title: "System Info"
|
||||||
|
color: "#000000"
|
||||||
|
visible: true
|
||||||
|
minimumSize: Qt.size(824, 497)
|
||||||
|
maximumSize: Qt.size(824, 497)
|
||||||
|
|
||||||
|
Text {
|
||||||
|
text: "System Info"
|
||||||
|
color: "#ffc90e"
|
||||||
|
font.family: "8bitoperator JVE"
|
||||||
|
font.pixelSize: 32
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
y: 15
|
||||||
|
}
|
||||||
|
|
||||||
|
Image {
|
||||||
|
source: "./Delta_Rune.png"
|
||||||
|
scale: 0.5
|
||||||
|
y: 15
|
||||||
|
x: 0
|
||||||
|
}
|
||||||
|
|
||||||
|
Text {
|
||||||
|
// TODO: get system info not static
|
||||||
|
text: "CachyOS\nLinux 6.18.2-1-cachyos-rt-bore-lto\nHyprland 0.52.0-git"
|
||||||
|
color: "#ffffff"
|
||||||
|
font.family: "8bitoperator JVE"
|
||||||
|
font.pixelSize: 32
|
||||||
|
y: 75
|
||||||
|
x: 320
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -12,7 +12,18 @@ top bar:
|
|||||||
gap: 76px
|
gap: 76px
|
||||||
top: 45px
|
top: 45px
|
||||||
|
|
||||||
|
|
||||||
selection soul offset frop top left:
|
selection soul offset frop top left:
|
||||||
x: 19
|
x: 19
|
||||||
y: 42
|
y: 42
|
||||||
|
|
||||||
|
dialogbox:
|
||||||
|
x: 1271
|
||||||
|
y: 312
|
||||||
|
offset y from bottom: -34
|
||||||
|
(not counting the border)
|
||||||
|
text: #ffffff
|
||||||
|
shadow:
|
||||||
|
offset x: 2
|
||||||
|
offset y: 2
|
||||||
|
color: #04047C
|
||||||
|
|
||||||
31
DeltaruneQuickshell/DialogBox/DialogBox.qml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
import QtQuick
|
||||||
|
|
||||||
|
Item {
|
||||||
|
id: dialogboxroot
|
||||||
|
implicitHeight: 378
|
||||||
|
implicitWidth: 1334
|
||||||
|
readonly property int text_x: 350 - 275
|
||||||
|
readonly property int text_y: 55
|
||||||
|
readonly property int font_size: 48
|
||||||
|
property string text: "(The power of Hyprland shines within you...)"
|
||||||
|
|
||||||
|
Image {
|
||||||
|
source: "./frame.png"
|
||||||
|
}
|
||||||
|
Text {
|
||||||
|
text: dialogboxroot.text
|
||||||
|
font.family: "8-bit Operator+"
|
||||||
|
font.pixelSize: dialogboxroot.font_size
|
||||||
|
color: "#04047C"
|
||||||
|
x: dialogboxroot.text_x + 2
|
||||||
|
y: dialogboxroot.text_y + 2
|
||||||
|
}
|
||||||
|
Text {
|
||||||
|
text: dialogboxroot.text
|
||||||
|
font.family: "8-bit Operator+"
|
||||||
|
font.pixelSize: dialogboxroot.font_size
|
||||||
|
color: "#ffffff"
|
||||||
|
x: dialogboxroot.text_x
|
||||||
|
y: dialogboxroot.text_y
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
DeltaruneQuickshell/DialogBox/frame.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
0
DeltaruneQuickshell/Settings/SettingsWindow.qml
Normal file
@@ -9,7 +9,7 @@ Item {
|
|||||||
implicitHeight: 182
|
implicitHeight: 182
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
||||||
property var iconSources: ["item.png", "equip.png", "power.png", "settings.png"]
|
property var iconSources: ["item.png", "equip.png", "power.png", "config.png"]
|
||||||
property int iconCount: iconSources.length
|
property int iconCount: iconSources.length
|
||||||
property int selectedIndex: 0
|
property int selectedIndex: 0
|
||||||
|
|
||||||
@@ -29,6 +29,10 @@ Item {
|
|||||||
|
|
||||||
DarkDollarsDisplay {}
|
DarkDollarsDisplay {}
|
||||||
|
|
||||||
|
Image {
|
||||||
|
source: "./topbar/setting_names/" + topbar.iconSources[topbar.selectedIndex]
|
||||||
|
}
|
||||||
|
|
||||||
FocusScope {
|
FocusScope {
|
||||||
id: focusScope
|
id: focusScope
|
||||||
focus: true
|
focus: true
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import QtQuick
|
import QtQuick
|
||||||
import Quickshell
|
|
||||||
|
// import Quickshell
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
Text {
|
Text {
|
||||||
@@ -11,17 +12,17 @@ Item {
|
|||||||
font.family: "8bitoperator JVE"
|
font.family: "8bitoperator JVE"
|
||||||
}
|
}
|
||||||
|
|
||||||
SystemClock {
|
// SystemClock {
|
||||||
id: clock
|
// id: clock
|
||||||
precision: SystemClock.Minutes
|
// precision: SystemClock.Minutes
|
||||||
}
|
// }
|
||||||
|
|
||||||
Text {
|
// Text {
|
||||||
x: 1064 + 117
|
// x: 1064 + 117
|
||||||
y: 37 + 9 + 64
|
// y: 37 + 9 + 64
|
||||||
color: "#777777"
|
// color: "#777777"
|
||||||
text: Qt.formatDateTime(clock.date, "dd/MM - hh:mm")
|
// text: Qt.formatDateTime(clock.date, "dd/MM - hh:mm")
|
||||||
font.pixelSize: 32
|
// font.pixelSize: 32
|
||||||
font.family: "8bitoperator JVE"
|
// font.family: "8bitoperator JVE"
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Item {
|
|||||||
id: item
|
id: item
|
||||||
implicitWidth: 149
|
implicitWidth: 149
|
||||||
implicitHeight: 108
|
implicitHeight: 108
|
||||||
property url iconSource: "./settings.png"
|
property url iconSource: "settings.png"
|
||||||
property bool selected: false
|
property bool selected: false
|
||||||
property bool showSoul: true
|
property bool showSoul: true
|
||||||
readonly property color selectedColor: "#ffc90e"
|
readonly property color selectedColor: "#ffc90e"
|
||||||
@@ -14,7 +14,7 @@ Item {
|
|||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: originalImage
|
id: originalImage
|
||||||
source: item.iconSource
|
source: "./setting_icons/" + item.iconSource
|
||||||
}
|
}
|
||||||
|
|
||||||
ColorOverlay {
|
ColorOverlay {
|
||||||
@@ -26,7 +26,7 @@ Item {
|
|||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: soul
|
id: soul
|
||||||
source: "./soul.png"
|
source: "./soul_small.png"
|
||||||
x: 19
|
x: 19
|
||||||
y: 42
|
y: 42
|
||||||
visible: item.showSoul && item.selected
|
visible: item.showSoul && item.selected
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
BIN
DeltaruneQuickshell/Topbar/topbar/setting_names/config.png
Normal file
|
After Width: | Height: | Size: 162 KiB |
BIN
DeltaruneQuickshell/Topbar/topbar/setting_names/equip.png
Normal file
|
After Width: | Height: | Size: 162 KiB |
BIN
DeltaruneQuickshell/Topbar/topbar/setting_names/item.png
Normal file
|
After Width: | Height: | Size: 162 KiB |
BIN
DeltaruneQuickshell/Topbar/topbar/setting_names/power.png
Normal file
|
After Width: | Height: | Size: 162 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
47
DeltaruneQuickshell/WLRLayerDialogBox.qml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
import Quickshell
|
||||||
|
import Quickshell.Wayland
|
||||||
|
import Quickshell.Io
|
||||||
|
import "DialogBox"
|
||||||
|
|
||||||
|
PanelWindow {
|
||||||
|
id: baseDialog
|
||||||
|
anchors {
|
||||||
|
bottom: true
|
||||||
|
}
|
||||||
|
property bool isOpen: false
|
||||||
|
property string text: "(The power of Hyprland\nshines within you.)"
|
||||||
|
|
||||||
|
WlrLayershell.layer: WlrLayer.Overlay
|
||||||
|
WlrLayershell.focusable: false
|
||||||
|
WlrLayershell.keyboardFocus: WlrKeyboardFocus.None
|
||||||
|
WlrLayershell.namespace: "deltarune-quickshell-dialogbox"
|
||||||
|
|
||||||
|
visible: isOpen
|
||||||
|
exclusionMode: ExclusionMode.Ignore
|
||||||
|
aboveWindows: true
|
||||||
|
focusable: false
|
||||||
|
|
||||||
|
mask: Region {}
|
||||||
|
|
||||||
|
implicitHeight: 378
|
||||||
|
implicitWidth: 1334 - 147
|
||||||
|
color: '#000000ff'
|
||||||
|
|
||||||
|
DialogBox {
|
||||||
|
text: baseDialog.text
|
||||||
|
}
|
||||||
|
|
||||||
|
IpcHandler {
|
||||||
|
target: "deltarune.dialog"
|
||||||
|
enabled: true
|
||||||
|
function open(): void {
|
||||||
|
baseDialog.isOpen = true;
|
||||||
|
}
|
||||||
|
function close(): void {
|
||||||
|
baseDialog.isOpen = false;
|
||||||
|
}
|
||||||
|
function setText(text: string): void {
|
||||||
|
baseDialog.text = text.replace("\\n", "\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -9,15 +9,15 @@ PanelWindow {
|
|||||||
bottom: true
|
bottom: true
|
||||||
}
|
}
|
||||||
|
|
||||||
WlrLayershell.layer: WlrLayer.Overlay
|
WlrLayershell.layer: WlrLayer.Top
|
||||||
WlrLayershell.focusable: true
|
|
||||||
WlrLayershell.keyboardFocus: WlrKeyboardFocus.None
|
|
||||||
WlrLayershell.namespace: "deltarune-quickshell-bottom"
|
WlrLayershell.namespace: "deltarune-quickshell-bottom"
|
||||||
|
|
||||||
visible: true
|
visible: true
|
||||||
exclusionMode: ExclusionMode.Ignore
|
exclusionMode: ExclusionMode.Ignore
|
||||||
aboveWindows: true
|
aboveWindows: true
|
||||||
focusable: true
|
focusable: false
|
||||||
|
|
||||||
|
mask: Region {}
|
||||||
|
|
||||||
implicitHeight: 137
|
implicitHeight: 137
|
||||||
color: "#000000"
|
color: "#000000"
|
||||||
|
|||||||
@@ -10,11 +10,13 @@ PanelWindow {
|
|||||||
right: true
|
right: true
|
||||||
}
|
}
|
||||||
|
|
||||||
WlrLayershell.layer: WlrLayer.Overlay
|
WlrLayershell.layer: WlrLayer.Top
|
||||||
WlrLayershell.focusable: true
|
WlrLayershell.focusable: true
|
||||||
WlrLayershell.keyboardFocus: WlrKeyboardFocus.OnDemand
|
WlrLayershell.keyboardFocus: WlrKeyboardFocus.OnDemand
|
||||||
WlrLayershell.namespace: "deltarune-quickshell"
|
WlrLayershell.namespace: "deltarune-quickshell"
|
||||||
|
|
||||||
|
mask: Region {}
|
||||||
|
|
||||||
visible: true
|
visible: true
|
||||||
exclusionMode: ExclusionMode.Ignore
|
exclusionMode: ExclusionMode.Ignore
|
||||||
aboveWindows: true
|
aboveWindows: true
|
||||||
|
|||||||
11
README.md
@@ -1,8 +1,13 @@
|
|||||||
# DeltaruneQuickshell
|
# DeltaruneQuickshell
|
||||||
|
|
||||||
A [Quickshell](https://quickshell.org/) shell inspired by Deltarune.
|
A fan-made recreation of the UI from Deltarune in
|
||||||
|
[Quickshell](https://quickshell.org/).
|
||||||
|
|
||||||
Dependencies:
|
Dependencies:
|
||||||
|
|
||||||
- `8bitoperator JVE`
|
- Fonts:
|
||||||
- `Quickshell` (full)
|
- `8bitoperator JVE`
|
||||||
|
- `8-bit Operator+`
|
||||||
|
|
||||||
|
- Software:
|
||||||
|
- `Quickshell`
|
||||||
|
|||||||
16
shell.qml
@@ -1,11 +1,11 @@
|
|||||||
import QtQuick
|
|
||||||
import Quickshell.Io
|
|
||||||
import Quickshell
|
import Quickshell
|
||||||
|
import Quickshell.Io
|
||||||
|
import Quickshell.Hyprland
|
||||||
import "DeltaruneQuickshell"
|
import "DeltaruneQuickshell"
|
||||||
|
|
||||||
ShellRoot {
|
ShellRoot {
|
||||||
id: baseShell
|
id: baseShell
|
||||||
property bool isOpen: !true
|
property bool isOpen: false
|
||||||
|
|
||||||
WLRLayerTopbar {
|
WLRLayerTopbar {
|
||||||
visible: baseShell.isOpen
|
visible: baseShell.isOpen
|
||||||
@@ -13,6 +13,16 @@ ShellRoot {
|
|||||||
WLRLayerHealthbar {
|
WLRLayerHealthbar {
|
||||||
visible: baseShell.isOpen
|
visible: baseShell.isOpen
|
||||||
}
|
}
|
||||||
|
WLRLayerDialogBox {}
|
||||||
|
|
||||||
|
GlobalShortcut {
|
||||||
|
appid: "deltarune"
|
||||||
|
triggerDescription: "Toggle the menu"
|
||||||
|
name: "shell_toggle"
|
||||||
|
onReleased: {
|
||||||
|
baseShell.isOpen = !baseShell.isOpen;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
IpcHandler {
|
IpcHandler {
|
||||||
target: "deltarune.shell"
|
target: "deltarune.shell"
|
||||||
|
|||||||