From cca255ba8334aaa77c8b250538667d544e425365 Mon Sep 17 00:00:00 2001 From: Joseph Montanaro Date: Thu, 11 Sep 2025 12:08:59 -0400 Subject: [PATCH] switch workspaces using the number pad --- dot_config/hypr/bindings.conf | 12 ++++++++++++ dot_config/hypr/input.conf | 3 +++ 2 files changed, 15 insertions(+) diff --git a/dot_config/hypr/bindings.conf b/dot_config/hypr/bindings.conf index 262e7a3..6b21ca7 100644 --- a/dot_config/hypr/bindings.conf +++ b/dot_config/hypr/bindings.conf @@ -52,3 +52,15 @@ bindd = SUPER, L, Lock screen, exec, omarchy-lock-screen unbind = CTRL ALT, DELETE bindd = CTRL ALT, DELETE, Close all windows (except special), exec, ~/.local/bin/close-non-special-windows +# for WHATEVER reason, hyprland refuses to use the numeric symbols for keypad keys, +# so we have to use the navigation symbols instead +bindd = SUPER, KP_End, Switch to workspace 1, workspace, 1 +bindd = SUPER, KP_Down, Switch to workspace 2, workspace, 2 +bindd = SUPER, KP_Next, Switch to workspace 3, workspace, 3 +bindd = SUPER, KP_Left, Switch to workspace 4, workspace, 4 +bindd = SUPER, KP_Begin, Switch to workspace 5, workspace, 5 +bindd = SUPER, KP_Right, Switch to workspace 6, workspace, 6 +bindd = SUPER, KP_Home, Switch to workspace 7, workspace, 7 +bindd = SUPER, KP_Up, Switch to workspace 8, workspace, 8 +bindd = SUPER, kp_Prior, Switch to workspace 9, workspace, 9 + diff --git a/dot_config/hypr/input.conf b/dot_config/hypr/input.conf index 7aab42a..2bc34d4 100644 --- a/dot_config/hypr/input.conf +++ b/dot_config/hypr/input.conf @@ -13,6 +13,9 @@ input { # Increase sensitity for mouse/trackpack (default: 0) sensitivity = -0.25 + # enable numlock automatically + numlock_by_default = true + touchpad { # Use natural (inverse) scrolling # natural_scroll = true