aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/KeybindsLayoutInit.sh
blob: 280e381ba23cf1ad001b1cf02c809a33346f15f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash
# ==================================================
#  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).

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

# Cycle windows globally
hyprctl keyword bind SUPER,j,cyclenext
hyprctl keyword bind SUPER,k,cyclenext,prev
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage