aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/SwitchKeyboardLayout.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-01-12 14:51:49 +0900
committerGitHub <noreply@github.com>2025-01-12 14:51:49 +0900
commit1a51c1c781bd92be657a9bb74685a86d9c76c733 (patch)
tree48d22a66e91b124f517ce52b5455a868d4cc982e /config/hypr/scripts/SwitchKeyboardLayout.sh
parentb0168284df23c1d5c4967685d814732f354ed8f6 (diff)
parent4a8b493fdb60ee5b055bb8cf4e9b26826e8ef5db (diff)
Merge pull request #516 from JaKooLit/main
Main to development
Diffstat (limited to 'config/hypr/scripts/SwitchKeyboardLayout.sh')
-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