mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
call stickypad notes
This commit is contained in:
@@ -131,13 +131,13 @@ Singleton {
|
||||
property real height: 600
|
||||
property int tabIndex: 0
|
||||
}
|
||||
property JsonObject stickypad: JsonObject {
|
||||
property bool pinned: true
|
||||
property bool clickthrough: false
|
||||
property real x: 100
|
||||
property real y: 100
|
||||
property real width: 350
|
||||
property real height: 600
|
||||
property JsonObject notes: JsonObject {
|
||||
property bool pinned: false
|
||||
property bool clickthrough: true
|
||||
property real x: 1400
|
||||
property real y: 42
|
||||
property real width: 460
|
||||
property real height: 330
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ Singleton {
|
||||
{ identifier: "floatingImage", materialSymbol: "imagesmode" },
|
||||
{ identifier: "recorder", materialSymbol: "screen_record" },
|
||||
{ identifier: "resources", materialSymbol: "browse_activity" },
|
||||
{ identifier: "stickypad", materialSymbol: "note_stack" },
|
||||
{ identifier: "notes", materialSymbol: "note_stack" },
|
||||
{ identifier: "volumeMixer", materialSymbol: "volume_up" },
|
||||
]
|
||||
|
||||
|
||||
@@ -23,6 +23,6 @@ DelegateChooser {
|
||||
DelegateChoice { roleValue: "fpsLimiter"; FpsLimiter {} }
|
||||
DelegateChoice { roleValue: "recorder"; Recorder {} }
|
||||
DelegateChoice { roleValue: "resources"; Resources {} }
|
||||
DelegateChoice { roleValue: "stickypad"; Stickypad {} }
|
||||
DelegateChoice { roleValue: "notes"; Stickypad {} }
|
||||
DelegateChoice { roleValue: "volumeMixer"; VolumeMixer {} }
|
||||
}
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import Quickshell
|
||||
import qs.services
|
||||
import qs.modules.common
|
||||
import qs.modules.ii.overlay
|
||||
|
||||
StyledOverlayWidget {
|
||||
id: root
|
||||
title: "Stickypad"
|
||||
title: Translation.tr("Notes")
|
||||
showCenterButton: true
|
||||
|
||||
contentItem: StickypadContent {
|
||||
anchors.fill: parent
|
||||
radius: root.contentRadius
|
||||
isClickthrough: root.clickthrough
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user