From 1a69a48730842c5e77b746d751ac337edd20b796 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 1 Sep 2025 18:04:03 +1000 Subject: [PATCH 1/3] env: add windows to SDL_VIDEODRIVER Fixes #128 --- hypr/hyprland/env.conf | 2 +- uwsm/env-hyprland | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hypr/hyprland/env.conf b/hypr/hyprland/env.conf index 2053b03..ce7f25d 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/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' From e0158ce75d870ddc198dd268ab7c32b6c9c90dc3 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 11 Sep 2025 23:12:18 +1000 Subject: [PATCH 2/3] hypr: fix gestures for update Fixes #142 --- hypr/hyprland.conf | 1 + hypr/hyprland/gestures.conf | 13 +++++++++++++ hypr/hyprland/input.conf | 11 ----------- hypr/variables.conf | 4 +++- 4 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 hypr/hyprland/gestures.conf diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 5243f04..888c30e 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/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 6b1fd46..c39b747 100644 --- a/hypr/hyprland/input.conf +++ b/hypr/hyprland/input.conf @@ -16,14 +16,3 @@ input { 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 -} diff --git a/hypr/variables.conf b/hypr/variables.conf index 2f03031..eaea3e3 100644 --- a/hypr/variables.conf +++ b/hypr/variables.conf @@ -8,7 +8,9 @@ $fileExplorer = thunar # Touchpad $touchpadDisableTyping = true $touchpadScrollFactor = 0.3 -$workSpaceSwipeFingers = 4 +$workspaceSwipeFingers = 4 +$gestureFingers = 3 +$gestureFingersMore = 4 # Blur $blurEnabled = true From d235508633c8a49aaf9222bc6ed1234c444e8187 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 15 Sep 2025 22:07:38 +1000 Subject: [PATCH 3/3] hypr: add fix interaction around edges Apparently the default for this was changed? --- hypr/hyprland/input.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hypr/hyprland/input.conf b/hypr/hyprland/input.conf index c39b747..2684511 100644 --- a/hypr/hyprland/input.conf +++ b/hypr/hyprland/input.conf @@ -16,3 +16,8 @@ input { binds { scroll_event_delay = 0 } + +cursor { + hotspot_padding = 1 +} +