aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/SwitchKeyboardLayout.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2024-04-01 04:30:37 +0900
committerGitHub <noreply@github.com>2024-04-01 04:30:37 +0900
commit1ecaaeef3bb759125ab78f41ea7797c573537a6b (patch)
tree3605c3b667761ba7e82e6719ffaed82be78c3d7c /config/hypr/scripts/SwitchKeyboardLayout.sh
parentb3e8d7bd62140e36074f8a8e24d32bf33d10f8d8 (diff)
parent34912183044d1fb6cd04d10d09e00bd1b1db148b (diff)
Merge pull request #188 from BbIXOD/patch-1
fix: Fix bug in SwitchKeyboardLayout.sh
Diffstat (limited to 'config/hypr/scripts/SwitchKeyboardLayout.sh')
-rwxr-xr-xconfig/hypr/scripts/SwitchKeyboardLayout.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/scripts/SwitchKeyboardLayout.sh b/config/hypr/scripts/SwitchKeyboardLayout.sh
index b280493e..0145e262 100755
--- a/config/hypr/scripts/SwitchKeyboardLayout.sh
+++ b/config/hypr/scripts/SwitchKeyboardLayout.sh
@@ -38,8 +38,8 @@ next_index=$(( (current_index + 1) % layout_count ))
new_layout="${layout_mapping[next_index]}"
# Update the keyboard layout
-hyprctl keyword input:kb_layout "$new_layout"
+hyprctl switchxkblayout "at-translated-set-2-keyboard" "$new_layout"
echo "$new_layout" > "$layout_f"
# Notification for the new keyboard layout
-notify-send -u low -i "$notif" "new KB_Layout: $new_layout" \ No newline at end of file
+notify-send -u low -i "$notif" "new KB_Layout: $new_layout"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage