1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

meta: Vertical Bar, Notification Popup Position Options, ++

- CC Color picker widget
- Tooltips in more places
- Attempt to improve niri screen transitiosn
This commit is contained in:
bbedward
2025-09-30 09:51:18 -04:00
parent d280505b9f
commit e875d1a5d7
84 changed files with 4937 additions and 2019 deletions

View File

@@ -25,6 +25,7 @@ import qs.Modules.OSD
import qs.Modules.ProcessList
import qs.Modules.Settings
import qs.Modules.DankBar
import qs.Modules.DankBar.Popouts
import qs.Services
ShellRoot {
@@ -48,21 +49,19 @@ ShellRoot {
Loader {
id: dankBarLoader
active: true
asynchronous: false
property var currentPosition: SettingsData.dankBarAtBottom
property var currentPosition: SettingsData.dankBarPosition
sourceComponent: DankBar {
onColorPickerRequested: colorPickerModal.show()
}
onCurrentPositionChanged: {
console.log("DEBUG: DankBar position changed to:", currentPosition, "- recreating bar")
const comp = sourceComponent
const component = sourceComponent
sourceComponent = null
Qt.callLater(() => {
sourceComponent = comp
sourceComponent = component
})
}
}
@@ -140,8 +139,11 @@ ShellRoot {
active: false
property var modalRef: colorPickerModal
ControlCenterPopout {
id: controlCenterPopout
colorPickerModal: controlCenterLoader.modalRef
onPowerActionRequested: (action, title, message) => {
powerConfirmModalLoader.active = true