updates
This commit is contained in:
1 parent
47f0b82698
commit
19eed2ed68
25 files changed
+807
-1313
No files matched your search
@@ -7,7 +7,7 @@ STATUS_FILE="$DIR/touchpad.status"
|
||||
|
||||
# For Notification icon
|
||||
notif="$HOME/dotfiles/hypr/assets/bell.png"
|
||||
reload="$HOME/dotfiles/hypr/assets/reload.png"
|
||||
reload="$HOME/dotfiles/hypr/assets/reload.svg"
|
||||
|
||||
# Scripts DIR
|
||||
SCRIPTSDIR="$HOME/dotfiles/hypr/scripts"
|
||||
|
||||
@@ -252,7 +252,7 @@ for ((i = 0; i < layout_count; i++)); do # Find the index of the current layout
|
||||
done
|
||||
next_index=$(( (current_index + 1) % layout_count )) # Calculate the index of the next layout
|
||||
new_layout="${layout_mapping[next_index]}"
|
||||
hyprctl keyword input:kb_layout "$new_layout" # Update the keyboard layout
|
||||
hyprctl switchxkblayout input:kb_layout "$next_index" # Update the keyboard layout
|
||||
echo "$new_layout" > "$layout_f"
|
||||
notify-send -u low -i "$notif" "Keyboad Layout Changed to $new_layout"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user