aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-01-12 11:45:20 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-01-12 11:45:20 +0900
commit22a7c6a47cda11a78727e9c903841b2f3273f52c (patch)
tree5e4a8f6da2915a54a0aa7d2189f9406c48c15435
parente750b42a20185a27d1bae8edfb0efcae73a20e4d (diff)
fixed switching of multiple keyboard layout [Fix](https://github.com/JaKooLit/Ubuntu-Hyprland/issues/33)
-rwxr-xr-xconfig/hypr/scripts/SwitchKeyboardLayout.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/hypr/scripts/SwitchKeyboardLayout.sh b/config/hypr/scripts/SwitchKeyboardLayout.sh
index 76c06574..2d265e28 100755
--- a/config/hypr/scripts/SwitchKeyboardLayout.sh
+++ b/config/hypr/scripts/SwitchKeyboardLayout.sh
@@ -80,7 +80,7 @@ change_layout() {
fi
echo "Switching layout for $name to $new_layout..."
- hyprctl switchxkblayout "$name" next
+ hyprctl switchxkblayout "$name" "$next_index"
if [ $? -ne 0 ]; then
echo "Error while switching layout for $name." >&2
error_found=true
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage