diff --git a/README.md b/README.md index cdd5385..ee3d25a 100644 --- a/README.md +++ b/README.md @@ -35,4 +35,9 @@ Add the Lines to your ```~/.config/hypr/hyprland.conf``` keep in mind that you m - Volume Contol - Notes -- wofi \ No newline at end of file +- wofi + +### Inspirations +- [quickshell-examples](https://github.com/quickshell-mirror/quickshell-examples) +- [caelestia-shell](https://github.com/caelestia-dots/shell) +- [TheLinuxGuy](https://www.youtube.com/@TheLinuxGuy-btw) \ No newline at end of file diff --git a/modules/jl/JLearnerLoader.qml b/modules/jl/JLearnerLoader.qml index 7754e54..1569b46 100644 --- a/modules/jl/JLearnerLoader.qml +++ b/modules/jl/JLearnerLoader.qml @@ -7,10 +7,10 @@ import Quickshell.Io Item { // container, invisible id: jLoader - Loader { + LazyLoader { id: jLearnerLoader active: false - sourceComponent: JLearner { id: jLearner } + JLearner { id: jLearner } } GlobalShortcut { diff --git a/modules/wlogout/WlogoutLoader.qml b/modules/wlogout/WlogoutLoader.qml index 5beca1e..ae96a40 100644 --- a/modules/wlogout/WlogoutLoader.qml +++ b/modules/wlogout/WlogoutLoader.qml @@ -8,10 +8,10 @@ import "../../config" Item { // container, invisible id: wlLoader - Loader { + LazyLoader { id: wlogoutLoader active: false - sourceComponent: Wlogout { + Wlogout { id: wLogout } } diff --git a/modules/wp/WallpaperPickerLoader.qml b/modules/wp/WallpaperPickerLoader.qml index 1927dba..5d6f1a4 100644 --- a/modules/wp/WallpaperPickerLoader.qml +++ b/modules/wp/WallpaperPickerLoader.qml @@ -16,10 +16,10 @@ Item { } } - Loader { + LazyLoader { id: wallpaperLoader active: false - sourceComponent: WallpaperPicker { id: wPicker } + WallpaperPicker { id: wPicker } } GlobalShortcut { @@ -30,7 +30,7 @@ Item { // generateThumbs.startDetached() generateThumbs.running = true console.log("Pressed Meta+Shift+W (Hyprland global shortcut)") - wallpaperLoader.active = !wallpaperLoader.active + wallpaperLoader.activeAsync = !wallpaperLoader.active } }