This commit is contained in:
t470p
2024-05-09 14:20:13 -05:00
parent 9ba4195c50
commit af51d6dab5

View File

@@ -37,7 +37,8 @@ input {
# switch keyboard layout
# https://wiki.hyprland.org/Configuring/Uncommon-tips--tricks/
kb_layout = us,no
kb_options = grp:caps_toggle,grp_led:scroll # this has no effect, so a bind is done below
#kb_options = grp:caps_toggle,grp_led:scroll # this has no effect, so a bind is done below
kb_options = "caps:none"
kb_variant =
kb_model =
kb_options =
@@ -267,24 +268,9 @@ bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# change keyboard layout
# `hyprctl devices` - for keyboard names
# https://wiki.hyprland.org/Configuring/Using-hyprctl/#switchxkblayout
# note: the key binding "Caps_Lock" did not work on t470p
#bind = $mainMod, K, exec, hyprctl switchxkblayout at-translated-set-2-keyboard next
#bind = $mainMod, K, exec, hyprctl switchxkblayout usb-keyboard next
#bind = $mainMod, Shift_Lock, exec, hyprctl switchxkblayout at-translated-set-2-keyboard next
#bind = $mainMod, Shift_Lock, exec, hyprctl switchxkblayout usb-keyboard next
#
#bind = , Shift_Lock, exec, hyprctl switchxkblayout at-translated-set-2-keyboard next
#bind = , Shift_Lock, exec, hyprctl switchxkblayout usb-keyboard next
#
#bind = $mainMod, Caps_Lock, exec, hyprctl switchxkblayout at-translated-set-2-keyboard next
#bind = $mainMod, Caps_Lock, exec, hyprctl switchxkblayout usb-keyboard next
bind = , Caps_Lock, exec, hyprctl switchxkblayout at-translated-set-2-keyboard next
bind = , Caps_Lock, exec, hyprctl switchxkblayout usb-keyboard next
# view mode
bind = $mainMod, W, exec, hyprctl keyword general:layout "master"
bind = $mainMod, E, exec, hyprctl keyword general:layout "dwindle"