Merge branch 'main' of github.com:Teoro01/hyprland-quickshell-gui

This commit is contained in:
Teo
2026-03-08 14:13:46 +01:00
23 changed files with 1676 additions and 136 deletions
+29 -1
View File
@@ -14,6 +14,23 @@ PanelWindow {
visible: true
focusable: true
FocusScope {
id: pickerScope
focus: true
Keys.onReleased: function(event) {
if (event.key === Qt.Key_Escape) {
console.log("Pressed Escape, closing Wallpaper Picker")
wallpaperLoader.active = false
}
}
Rectangle {
anchors.fill: parent
color: "lightblue"
}
}
Rectangle {
anchors.fill: parent
radius: 10
@@ -42,11 +59,22 @@ PanelWindow {
background: Rectangle {
radius: 12
color: "#2b2b2b"
color: filterText.activeFocus ? Colors.tertiary_fg : Colors.primary_fg
border.color: filterText.activeFocus ? Colors.tertiary : Colors.primary
border.width: 1
}
Keys.onReleased: {
if (event.key === Qt.Key_Escape) {
console.log("Escape pressed inside TextField")
console.log("Pressed Escape, closing Wallpaper Picker")
// wallpaperLoader.active = false
filterText.text = ""
filterText.focus = false
event.accepted = true
pickerScope.focus = true
}
}
}