aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/KeybindsLayoutInit.sh
blob: 08aff951093192fd6d017fc9f386fdc38cc856bf (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
# ==================================================
# Legacy startup hook for layout keybind initialization.
# Runtime keybind behavior is now resolved per keypress based on active workspace layout.

set -euo pipefail

scripts_dir="${XDG_CONFIG_HOME:-$HOME/.config}/hypr/scripts"

# Keep compatibility with existing startup entries while avoiding global rebinding.
if [[ -x "${scripts_dir}/ChangeLayout.sh" ]]; then
  "${scripts_dir}/ChangeLayout.sh" --quiet init >/dev/null 2>&1 || true
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage