keybind to move between monitors

This commit is contained in:
Tyler Starr 2023-12-28 22:50:00 -08:00
parent 1d5ef18734
commit fe0c035081

View File

@ -12,6 +12,8 @@ bindl = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
# Utility commands # Utility commands
bind = $mod, x, submap, utility bind = $mod, x, submap, utility
submap = utility submap = utility
bind = , s, exec, shutdown now
bind = , r, exec, reboot
bind = , q, exit, bind = , q, exit,
bind = , g, exec, ~/.config/hypr/scripts/gamemode.sh $e bind = , g, exec, ~/.config/hypr/scripts/gamemode.sh $e
binde = , h, resizeactive, -50 0 binde = , h, resizeactive, -50 0
@ -24,20 +26,12 @@ bind = , 3, exec, ~/.config/hypr/scripts/audio-device-switcher.sh 3 $e
bind = , escape, submap, reset bind = , escape, submap, reset
submap = reset submap = reset
# Power commands
bind = $mod, p, submap, [r]eboot | [s]hutdown
submap = [r]eboot | [s]hutdown
bind = , s, exec, shutdown now
bind = , r, exec, reboot
bind = , escape, submap, reset
submap = reset
# Master and stack # Master and stack
bind = $mod, j, layoutmsg, cyclenext bind = $mod, j, layoutmsg, cyclenext
bind = $mod, k, layoutmsg, cycleprev bind = $mod, k, layoutmsg, cycleprev
bind = $mod SHIFT, j, layoutmsg, swapnext bind = $mod SHIFT, j, layoutmsg, swapnext
bind = $mod SHIFT, k, layoutmsg, swapprev bind = $mod SHIFT, k, layoutmsg, swapprev
bind = $mod, h, focuscurrentorlast bind = $mod, p, focuscurrentorlast
bind = $mod, m, layoutmsg, focusmaster bind = $mod, m, layoutmsg, focusmaster
bind = $mod SHIFT, m, layoutmsg, swapwithmaster bind = $mod SHIFT, m, layoutmsg, swapwithmaster
bind = $mod, tab, layoutmsg, orientationcycle bind = $mod, tab, layoutmsg, orientationcycle
@ -67,6 +61,10 @@ bind = $mod SHIFT, e, movetoworkspacesilent, name:VII
bind = $mod SHIFT, r, movetoworkspacesilent, name:VIII bind = $mod SHIFT, r, movetoworkspacesilent, name:VIII
bind = $mod SHIFT, s, movetoworkspacesilent, name:X bind = $mod SHIFT, s, movetoworkspacesilent, name:X
# move between monitors
bind = $mod, h, movefocus, l
bind = $mod, l, movefocus, r
# Scroll through existing workspaces with mod + scroll # Scroll through existing workspaces with mod + scroll
bind = $mod, mouse_down, workspace, e+1 bind = $mod, mouse_down, workspace, e+1
bind = $mod, mouse_up, workspace, e-1 bind = $mod, mouse_up, workspace, e-1