aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/KeybindsLayoutInit.sh
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-03-30 21:58:55 -0700
committerPinapelz <yukais@pinapelz.com>2026-03-30 21:58:55 -0700
commit4acf85db722ebe7e019e7427436083b3b9f4959e (patch)
tree6d5b416ad605730a6d573d1b4178c7676dc8a015 /config/hypr/scripts/KeybindsLayoutInit.sh
parent89e10cd0c0331fc727889d41e34309db1fb5735f (diff)
parente4b9059d346e6a6dbd6216cd1fb5e41085bb6e7b (diff)
Merge remote-tracking branch 'upstream/main'
Diffstat (limited to 'config/hypr/scripts/KeybindsLayoutInit.sh')
-rwxr-xr-xconfig/hypr/scripts/KeybindsLayoutInit.sh17
1 files changed, 11 insertions, 6 deletions
diff --git a/config/hypr/scripts/KeybindsLayoutInit.sh b/config/hypr/scripts/KeybindsLayoutInit.sh
index 80bee9d6..f47197af 100755
--- a/config/hypr/scripts/KeybindsLayoutInit.sh
+++ b/config/hypr/scripts/KeybindsLayoutInit.sh
@@ -1,14 +1,19 @@
#!/usr/bin/env bash
-# /* ---- 💫 https://github.com/LinuxBeginnings 💫 ---- */ ##
+# ==================================================
+# KoolDots (2026)
+# Project URL: https://github.com/LinuxBeginnings
+# License: GNU GPLv3
+# SPDX-License-Identifier: GPL-3.0-or-later
+# ==================================================
# Initialize J/K keybinds so they always cycle windows globally (no layout-specific behavior)
# This avoids double-actions when layouts change.
set -euo pipefail
# Always reset and bind SUPER+J/K the same way on startup
-hyprctl keyword unbind SUPER,J || true
-hyprctl keyword unbind SUPER,K || true
+hyprctl keyword unbind SUPER,j || true
+hyprctl keyword unbind SUPER,k || true
-# Cycle windows globally: J = next, K = previous
-hyprctl keyword bind SUPER,J,cyclenext
-hyprctl keyword bind SUPER,K,cyclenext,prev
+# Cycle windows globally
+hyprctl keyword bind SUPER,j,layoutmsg,cyclenext
+hyprctl keyword bind SUPER,k,layoutmsg,cycleprev
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage