feat(config/hypr/configs): enhance keybinding semantics and expand configuration optionsNew Features

- Introduce `swapcol` layout bindings for moving windows between columns.
- Add configurable workspace swipe gestures (distance, speed, direction).

Enhancements
- Configure cursor timeout and disable hyprcursor.
- Enable XWayland `force_zero_scaling` and suppress update/donation notifications.
- Set explicit column widths and add `no_focus_fallback` visual option.
- Enable VRR and adjust visual settings.

Bug Fixes
- None
This commit is contained in:
sankalp committed 2026-05-11 22:04:08 +05:45
1 parent a4052fc65d
commit 77519f3eeb
3 files changed
+31 -6

No files matched your search

+2 -4
View File
@@ -49,12 +49,10 @@ hl.bind("ALT + SHIFT + A", hl.dsp.focus({ workspace = "e-1" }))
-- Scrolling / Layout
hl.bind("ALT + D", hl.dsp.layout("move +col"))
hl.bind("ALT + A", hl.dsp.layout("move -col"))
hl.bind(mainMod .. " + SHIFT + period", hl.dsp.layout("movewindowto r"))
hl.bind(mainMod .. " + SHIFT + comma", hl.dsp.layout("movewindowto l"))
hl.bind(mainMod .. " + SHIFT + up", hl.dsp.layout("movewindowto u"))
hl.bind(mainMod .. " + SHIFT + down", hl.dsp.layout("movewindowto d"))
hl.bind(mainMod .. " + SHIFT + period", hl.dsp.layout("swapcol r"))
hl.bind(mainMod .. " + SHIFT + comma", hl.dsp.layout("swapcol l"))
-- Scroll through existing workspaces with mainMod + scroll
hl.bind(mainMod .. " + mouse_down", hl.dsp.focus({ workspace = "e+1" }))
hl.bind(mainMod .. " + mouse_up", hl.dsp.focus({ workspace = "e-1" }))
+19 -1
View File
@@ -31,6 +31,11 @@ hl.config({
numlock_by_default = true,
},
cursor = {
inactive_timeout = 5,
enable_hyprcursor = false,
},
dwindle = {
preserve_split = true,
smart_resizing = true,
@@ -56,13 +61,26 @@ hl.config({
},
scrolling = {
column_width = 0.50,
explicit_column_widths = "0.5, 0.6, 1.0",
column_width = 0.6,
fullscreen_on_one_column = true,
direction = "right",
follow_min_visible = 1,
-- focus_fit_method = 0,
follow_focus = true,
},
xwayland = {
enabled = true,
force_zero_scaling = true,
},
debug = {
disable_logs = false,
},
ecosystem = {
no_update_news = true,
no_donation_nag = true,
},
})
+10 -1
View File
@@ -3,11 +3,20 @@ hl.config({
general = {
allow_tearing = false,
resize_on_border = false,
no_focus_fallback = true,
},
misc = {
force_default_wallpaper = 0,
disable_hyprland_logo = true,
vrr = 2,
},
gestures = {
workspace_swipe_distance = 1000,
workspace_swipe_min_speed_to_force = 1000,
workspace_swipe_direction_lock = false,
workspace_swipe_create_new = false,
workspace_swipe_cancel_ratio = 0.1,
},
})