feat(config): add niri-style keybindings and layout adjustments

This commit is contained in:
Prad Nukala committed 2026-10-13 18:43:54 -04:00
1 parent 32d4fccb2b
commit d8f5d10f05
4 files changed
+44 -13

No files matched your search

+15 -4
View File
@@ -22,10 +22,18 @@
-- opt every window out again except the terminals below.
hl.config({
general = {
-- Master instead of Omarchy's dwindle. Per-workspace layouts saved by
-- omarchy-hyprland-workspace-layout-toggle (~/.local/state/omarchy/
-- workspace-layouts/*.lua) still win for the workspaces they name.
layout = "master",
-- Scrolling (niri-style tape) instead of Omarchy's dwindle. Per-workspace
-- layouts saved by omarchy-hyprland-workspace-layout-toggle (SUPER + W;
-- ~/.local/state/omarchy/workspace-layouts/*.lua) still win for the
-- workspaces they name.
layout = "scrolling",
-- niri's layout `gaps` is unset, so its default 16 applies: 16 logical px
-- between windows and at the screen edge. Hyprland pads each side of a
-- window by gaps_in, so two neighbours sit 2 * gaps_in apart.
-- ~/.local/bin/omarchy-pip and omarchy-smart-move inset by gaps_out too.
gaps_in = 8,
gaps_out = 16,
},
decoration = {
@@ -135,5 +143,8 @@ hl.config({
focus_fit_method = 1,
-- niri keeps a lone column at its own width instead of filling the screen.
fullscreen_on_one_column = false,
-- niri stops at the first/last column instead of wrapping around.
wrap_focus = false,
wrap_swapcol = false,
},
})