diff --git a/config/hypr/hyprland/general.conf b/config/hypr/hyprland/general.conf index ded09f2..c54ad63 100644 --- a/config/hypr/hyprland/general.conf +++ b/config/hypr/hyprland/general.conf @@ -65,19 +65,6 @@ binds { } -# ── Gestures ──────────────────────────────────────────────────────── -gestures { - workspace_swipe_distance = 200 - workspace_swipe_cancel_ratio = 0.3 - workspace_swipe_forever = true - workspace_swipe_direction_lock = false -} - -gesture = 3, horizontal, workspace, -gesture = 3, down, close -gesture = 3, up, fullscreen - - # ──────────────────────────────────────────────────────────────────── # ╭────────────────────────────────────────────────╮ # │ GENERAL CONFIG │ diff --git a/config/hypr/hyprland/gestures.conf b/config/hypr/hyprland/gestures.conf new file mode 100644 index 0000000..7036468 --- /dev/null +++ b/config/hypr/hyprland/gestures.conf @@ -0,0 +1,17 @@ +# ──────────────────────────────────────────────────────────────────── +# ╭────────────────────────────────────────────────╮ +# │ Gestures │ +# ╰────────────────────────────────────────────────╯ +# ──────────────────────────────────────────────────────────────────── +gestures { + workspace_swipe_distance = 200 + workspace_swipe_cancel_ratio = 0.3 + workspace_swipe_forever = true + workspace_swipe_direction_lock = false +} + +gesture = 3, horizontal, workspace, +gesture = 3, down, close +gesture = 3, up, fullscreen + +gesture = 4, up, exec, killall rofi || rofi -show combi -modes combi -combi-modes "window,drun,run" diff --git a/config/hypr/hyprland_laptop.conf b/config/hypr/hyprland_laptop.conf index abba514..4fe063b 100644 --- a/config/hypr/hyprland_laptop.conf +++ b/config/hypr/hyprland_laptop.conf @@ -23,6 +23,7 @@ monitor=,highres highrr, auto, 1 source=./hyprland/binds.conf +source=./hyprland/gestures.conf source=./hyprland/general.conf source=./hyprland/windowrules.conf diff --git a/config/lint/eslint.config.mjs b/config/lint/eslint.config.mjs index 3d75864..bfe9d4f 100644 --- a/config/lint/eslint.config.mjs +++ b/config/lint/eslint.config.mjs @@ -658,14 +658,14 @@ const style = { 'error', 'always' ], - '@stylistic/type-annotation-spacing': 'error', - '@stylistic/type-generic-spacing': [ + '@stylistic/type-annotation-spacing': [ 'error', { 'before': false, 'after': true, } ], + '@stylistic/type-generic-spacing': 'error', '@stylistic/type-named-tuple-spacing': 'error', '@stylistic/wrap-iife': [ 'error',