Beginning to make JLearner Work and a bit of Code clean up
This commit is contained in:
@@ -18,7 +18,7 @@ PanelWindow {
|
||||
id: pickerScope
|
||||
focus: true
|
||||
|
||||
Keys.onReleased: {
|
||||
Keys.onReleased: function(event) {
|
||||
if (event.key === Qt.Key_Escape) {
|
||||
console.log("Pressed Escape, closing Wallpaper Picker")
|
||||
wallpaperLoader.active = false
|
||||
|
||||
@@ -28,8 +28,8 @@ Item { // container, invisible
|
||||
onPressed: {
|
||||
// generateThumbs.startDetached()
|
||||
generateThumbs.running = true
|
||||
wallpaperLoader.active = !wallpaperLoader.active
|
||||
console.log("Pressed Meta+Shift+W (Hyprland global shortcut)")
|
||||
wallpaperLoader.active = !wallpaperLoader.active
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user