diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-01-12 11:45:20 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-01-12 11:45:20 +0900 |
| commit | 22a7c6a47cda11a78727e9c903841b2f3273f52c (patch) | |
| tree | 5e4a8f6da2915a54a0aa7d2189f9406c48c15435 /config/hypr/scripts/SwitchKeyboardLayout.sh | |
| parent | e750b42a20185a27d1bae8edfb0efcae73a20e4d (diff) | |
fixed switching of multiple keyboard layout [Fix](https://github.com/JaKooLit/Ubuntu-Hyprland/issues/33)
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 |
