Created
August 13, 2026 02:49
-
-
Save roymckenzie/d28e1c6e3e038699255e0fde9dcefb31 to your computer and use it in GitHub Desktop.
Omarchy 4 three-finger workspace swipe with flick-to-commit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Omarchy 4 / Hyprland: three-finger workspace swipe with flick-to-commit | |
| -- Tested on Omarchy 4.0.0rc2. | |
| -- | |
| -- Omarchy 4 leaves workspace swipe off. These overrides restore the | |
| -- Omarchy 3 three-finger swipe and make a short flick finish the change | |
| -- instead of snapping back. | |
| -- | |
| -- Add the INPUT block to ~/.config/hypr/input.lua | |
| -- Add the ANIMATION line to ~/.config/hypr/looknfeel.lua | |
| -- Then: hyprctl reload && hyprctl configerrors | |
| -- ===== INPUT (~/.config/hypr/input.lua) ===== | |
| hl.gesture({ fingers = 3, direction = "horizontal", action = "workspace" }) | |
| hl.config({ | |
| gestures = { | |
| -- Default is 0.5 (must swipe halfway). 0.25 is easier to commit. | |
| workspace_swipe_cancel_ratio = 0.25, | |
| -- Default is 30. Lower = a quick flick finishes the swipe. | |
| workspace_swipe_min_speed_to_force = 10, | |
| }, | |
| }) | |
| -- ===== ANIMATION (~/.config/hypr/looknfeel.lua) ===== | |
| -- Omarchy disables workspace animations; this lets the rest of a swipe | |
| -- slide instead of jumping. | |
| hl.animation({ leaf = "workspaces", enabled = true, speed = 4, bezier = "easeOutQuint", style = "slide" }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment