|
|
|
|
@ -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" |
|
|
|
|
notify-send -u low -i "$notif" "new KB_Layout: $new_layout" |
|
|
|
|
|