[Hyprland] Extract gestures into separate file

This commit is contained in:
2025-12-08 10:28:11 +01:00
parent 007c3d0bf0
commit 84b008e29c
4 changed files with 20 additions and 15 deletions

View File

@@ -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 │

View File

@@ -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"

View File

@@ -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

View File

@@ -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',