summaryrefslogtreecommitdiff
path: root/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/FileBrowser/FileBrowserSidebar.qml
diff options
context:
space:
mode:
authorNippy <nippy@rp1.hu>2026-05-09 13:33:09 +0200
committerNippy <nippy@rp1.hu>2026-05-09 13:33:09 +0200
commita2b924d7e9492b978ad6dc33b6c1ffcb304b4bc5 (patch)
tree1a8769217f84bfe9d6216fafaadaf8cdd876d457 /raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/FileBrowser/FileBrowserSidebar.qml
parent34b9c34f982b2596cfa9e368a2d7f74e9a17477c (diff)
downloadRaveOS-PKGBUILD-a2b924d7e9492b978ad6dc33b6c1ffcb304b4bc5.tar.gz
RaveOS-PKGBUILD-a2b924d7e9492b978ad6dc33b6c1ffcb304b4bc5.zip
raveos update
Diffstat (limited to 'raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/FileBrowser/FileBrowserSidebar.qml')
-rw-r--r--raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/FileBrowser/FileBrowserSidebar.qml70
1 files changed, 0 insertions, 70 deletions
diff --git a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/FileBrowser/FileBrowserSidebar.qml b/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/FileBrowser/FileBrowserSidebar.qml
deleted file mode 100644
index bc02b3e..0000000
--- a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/FileBrowser/FileBrowserSidebar.qml
+++ /dev/null
@@ -1,70 +0,0 @@
-import QtQuick
-import qs.Common
-import qs.Widgets
-
-StyledRect {
- id: sidebar
-
- property var quickAccessLocations: []
- property string currentPath: ""
- signal locationSelected(string path)
-
- width: 200
- color: Theme.surface
- clip: true
-
- Column {
- anchors.fill: parent
- anchors.margins: Theme.spacingS
- spacing: 4
-
- StyledText {
- text: I18n.tr("Quick Access")
- font.pixelSize: Theme.fontSizeSmall
- color: Theme.surfaceTextMedium
- font.weight: Font.Medium
- leftPadding: Theme.spacingS
- bottomPadding: Theme.spacingXS
- }
-
- Repeater {
- model: quickAccessLocations
-
- StyledRect {
- width: parent?.width ?? 0
- height: 38
- radius: Theme.cornerRadius
- color: quickAccessMouseArea.containsMouse ? Theme.withAlpha(Theme.surfaceContainerHigh, Theme.popupTransparency) : (currentPath === modelData?.path ? Theme.surfacePressed : "transparent")
-
- Row {
- anchors.fill: parent
- anchors.leftMargin: Theme.spacingM
- spacing: Theme.spacingS
-
- DankIcon {
- name: modelData?.icon ?? ""
- size: Theme.iconSize - 2
- color: currentPath === modelData?.path ? Theme.primary : Theme.surfaceText
- anchors.verticalCenter: parent.verticalCenter
- }
-
- StyledText {
- text: modelData?.name ?? ""
- font.pixelSize: Theme.fontSizeMedium
- color: currentPath === modelData?.path ? Theme.primary : Theme.surfaceText
- font.weight: currentPath === modelData?.path ? Font.Medium : Font.Normal
- anchors.verticalCenter: parent.verticalCenter
- }
- }
-
- MouseArea {
- id: quickAccessMouseArea
- anchors.fill: parent
- hoverEnabled: true
- cursorShape: Qt.PointingHandCursor
- onClicked: locationSelected(modelData?.path ?? "")
- }
- }
- }
- }
-}