From 1ee78be8453f86ef366fe7a73e4e8cf245d2d336 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Sat, 11 Jul 2026 04:31:59 -0400 Subject: Added qs-hyprview as alternative overview Signed-off-by: Don Williams On branch development Your branch is up to date with 'origin/development'. Changes to be committed: deleted: ./ new file: LICENSE new file: README.md new file: common/Appearance.qml new file: layouts/BandsLayout.qml new file: layouts/ColumnarLayout.qml new file: layouts/HeroLayout.qml new file: layouts/JustifiedLayout.qml new file: layouts/LayoutsManager.qml new file: layouts/MasonryLayout.qml new file: layouts/SatelliteLayout.qml new file: layouts/SmartGridLayout.qml new file: layouts/SpiralLayout.qml new file: layouts/StarggeredLayout.qml new file: layouts/VortexLayout.qml new file: layouts/qmldir new file: modules/Hyprview.qml new file: modules/SearchBox.qml new file: modules/WindowThumbnail.qml new file: modules/qmldir new file: qs-hyprview-template.qml new file: screenshots/bands.jpeg new file: screenshots/hero.jpeg new file: screenshots/masonry.jpeg new file: screenshots/satellite.jpeg new file: screenshots/smartgrid.jpeg new file: screenshots/spiral.jpeg new file: screenshots/staggered.jpeg new file: screenshots/vortex.jpeg new file: shell.qml --- .../qs-hyprview/layouts/LayoutsManager.qml | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 config/quickshell/qs-hyprview/layouts/LayoutsManager.qml (limited to 'config/quickshell/qs-hyprview/layouts/LayoutsManager.qml') diff --git a/config/quickshell/qs-hyprview/layouts/LayoutsManager.qml b/config/quickshell/qs-hyprview/layouts/LayoutsManager.qml new file mode 100644 index 00000000..8db0672d --- /dev/null +++ b/config/quickshell/qs-hyprview/layouts/LayoutsManager.qml @@ -0,0 +1,47 @@ +pragma Singleton +import Quickshell +import "." + +Singleton { + id: root + + function doLayout( layoutAlgorithm, windowList, width, height) { + var doLayout = null + switch (layoutAlgorithm) { + case 'smartgrid': + doLayout = SmartGridLayout.doLayout + break + case 'justified': + doLayout = JustifiedLayout.doLayout + break + case 'bands': + doLayout = BandsLayout.doLayout + break + case 'masonry': + doLayout = MasonryLayout.doLayout + break + case 'hero': + doLayout = HeroLayout.doLayout + break + case 'spiral': + doLayout = SpiralLayout.doLayout + break + case 'satellite': + doLayout = SatelliteLayout.doLayout + break + case 'staggered': + doLayout = StarggeredLayout.doLayout + break + case 'columnar': + doLayout = ColumnarLayout.doLayout + break + case 'vortex': + doLayout = VortexLayout.doLayout + break + default: + doLayout = SmartGridLayout.doLayout + } + + return doLayout( windowList, width, height) + } +} -- cgit v1.2.3