Commit 99676d1

Ansari <ping@ansari.wtf>
2026-08-03 17:04:41
adding scrollview plugin
1 parent 5e7e0f3
Changed files (3)
.config/hypr/modules/keybinds.lua
@@ -29,7 +29,9 @@ hl.bind("ALT + TAB", function()
 		end
 	end
 
-	if #windows == 0 then return end
+	if #windows == 0 then
+		return
+	end
 
 	-- 3. Find current window's position and move to the next one
 	local active = hl.get_active_window()
@@ -131,10 +133,7 @@ hl.bind("mouse:276", function()
 	ws_next()
 end) -- forward button → next
 
--- Keybard (SUPER + TAB / SUPER + SHIFT + TAB )
+-- plugin scrolloverview 
 hl.bind(mod .. " + TAB", function()
-	ws_next()
-end)
-hl.bind(mod .. " + SHIFT + TAB", function()
-	ws_prev()
+	hl.plugin.scrolloverview.overview("toggle all")
 end)
.config/hypr/modules/plugins.lua
@@ -0,0 +1,20 @@
+hl.config({
+	plugin = {
+		scrolloverview = {
+			scale = 0.5,
+			workspace_gap = 10,
+			layout = "horizontal",
+			blur = true,
+
+			input = {
+				scrolling_mode = 1,
+			},
+
+			shadow = {
+				enabled = false,
+			},
+		},
+	},
+})
+
+
.config/hypr/hyprland.lua
@@ -9,3 +9,4 @@ require("modules.layout")
 require("modules.rules")
 require("modules.misc")
 require("modules.keybinds")
+require("modules.plugins")