now vertical scroll

This commit is contained in:
ari committed 2026-08-25 22:07:52 -04:00
1 parent 47aee53fe1
commit 0efe1cac36
3 files changed
+20

No files matched your search

+6
View File
@@ -44,6 +44,12 @@ hypr/
└── conf/
├── env.lua # cursor size + Wayland/Qt/Electron env hints (hl.env)
├── general.lua # scrolling layout, gaps/border/rounding (hl.config)
├── animations.lua # vertical workspace-switch animation (hl.animation)
├── animations.lua # vertical workspace slide (slidevert), niri-like (hl.animation):
`style = "slidevert"`) to mirror niri's vertically-stacked workspaces, instead of
Hyprland's default horizontal `slide`. Only the `workspaces` leaf is overridden;
everything else stays on Hyprland defaults. Other `workspaces` styles available:
`slide`, `fade`, `slidefade`, `slidefadevert`.
├── monitors.lua # hl.monitor per display (from configs/niri/.../outputs.kdl)
├── inputs.lua # touchpad tap + natural scroll, kb us, hl.gesture
├── window-rules.lua # hl.window_rule floats for small dialogs/utilities
+13
View File
@@ -0,0 +1,13 @@
-- =========================
-- Animations
-- =========================
-- niri stacks workspaces vertically (Mod+Up/Down, 3-finger vertical swipe), so
-- switch the workspace transition to a vertical slide instead of Hyprland's
-- default horizontal `slide`. Only the `workspaces` leaf is overridden;
-- workspacesIn/Out inherit it and every other animation stays on defaults.
-- hl.animation requires an explicit bezier/spring (there is no built-in
-- "default" curve name in the Lua API), so define one first.
hl.curve("wsslide", { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1.0 } } })
hl.animation({ leaf = "workspaces", enabled = true, speed = 5, bezier = "wsslide", style = "slidevert" })
+1
View File
@@ -12,6 +12,7 @@
require("conf/env")
require("conf/general")
require("conf/animations")
require("conf/monitors")
require("conf/inputs")
require("conf/window-rules")