diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 0d8db26..48aab9d 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -24,6 +24,7 @@ source = $hl/decoration.conf source = $hl/group.conf source = $hl/execs.conf source = $hl/rules.conf +source = $hl/gestures.conf source = $hl/keybinds.conf # User configs diff --git a/hypr/hyprland/env.conf b/hypr/hyprland/env.conf index 02c5b45..ded74c8 100644 --- a/hypr/hyprland/env.conf +++ b/hypr/hyprland/env.conf @@ -8,7 +8,7 @@ env = XCURSOR_SIZE, $cursorSize # ######## Toolkit backends ######## env = GDK_BACKEND, wayland,x11 env = QT_QPA_PLATFORM, wayland;xcb -env = SDL_VIDEODRIVER, wayland,x11 +env = SDL_VIDEODRIVER, wayland,x11,windows env = CLUTTER_BACKEND, wayland env = ELECTRON_OZONE_PLATFORM_HINT, auto diff --git a/hypr/hyprland/gestures.conf b/hypr/hyprland/gestures.conf new file mode 100644 index 0000000..50d57ef --- /dev/null +++ b/hypr/hyprland/gestures.conf @@ -0,0 +1,13 @@ +gestures { + workspace_swipe_distance = 700 + workspace_swipe_cancel_ratio = 0.15 + workspace_swipe_min_speed_to_force = 5 + workspace_swipe_direction_lock = true + workspace_swipe_direction_lock_threshold = 10 + workspace_swipe_create_new = true +} + +gesture = $workspaceSwipeFingers, horizontal, workspace +gesture = $gestureFingers, up, special, special +gesture = $gestureFingers, down, dispatcher, exec, caelestia toggle specialws +gesture = $gestureFingersMore, down, dispatcher, exec, systemctl suspend-then-hibernate diff --git a/hypr/hyprland/input.conf b/hypr/hyprland/input.conf index bf94c84..1aa9512 100644 --- a/hypr/hyprland/input.conf +++ b/hypr/hyprland/input.conf @@ -16,13 +16,7 @@ binds { scroll_event_delay = 0 } -gestures { - workspace_swipe = true - workspace_swipe_distance = 700 - workspace_swipe_fingers = $workSpaceSwipeFingers - workspace_swipe_cancel_ratio = 0.15 - workspace_swipe_min_speed_to_force = 5 - workspace_swipe_direction_lock = true - workspace_swipe_direction_lock_threshold = 10 - workspace_swipe_create_new = true +cursor { + hotspot_padding = 1 } + diff --git a/hypr/variables.conf b/hypr/variables.conf index 00776d4..f612152 100644 --- a/hypr/variables.conf +++ b/hypr/variables.conf @@ -8,7 +8,9 @@ $browser = zen # Touchpad $touchpadDisableTyping = true $touchpadScrollFactor = 0.3 -$workSpaceSwipeFingers = 4 +$workspaceSwipeFingers = 4 +$gestureFingers = 3 +$gestureFingersMore = 4 # Blur $blurEnabled = true diff --git a/uwsm/env-hyprland b/uwsm/env-hyprland index e2d752d..60f8cd5 100644 --- a/uwsm/env-hyprland +++ b/uwsm/env-hyprland @@ -1,7 +1,7 @@ # ######## Toolkit backends ######## export GDK_BACKEND='wayland,x11' export QT_QPA_PLATFORM='wayland;xcb' -export SDL_VIDEODRIVER='wayland,x11' +export SDL_VIDEODRIVER='wayland,x11,windows' export CLUTTER_BACKEND='wayland' export ELECTRON_OZONE_PLATFORM_HINT='auto'