diff options
Diffstat (limited to 'config/hypr/scripts/SwitchKeyboardLayout.sh')
| -rwxr-xr-x | config/hypr/scripts/SwitchKeyboardLayout.sh | 2 |
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 |
