Add more hyprland keybinds
This commit is contained in:
parent
93f59922a6
commit
25d00401f1
48
nixos/home-manager/env/config/hypr/hyprland.conf
vendored
48
nixos/home-manager/env/config/hypr/hyprland.conf
vendored
|
@ -127,15 +127,22 @@ $mainMod = SUPER
|
|||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, Return, exec, kitty
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, M, exit,
|
||||
bind = $mainMod, E, exec, ~/.dotfiles/scripts/power-profiles
|
||||
bind = $mainMod SHIFT, E, exit
|
||||
bind = $mainMod, P, exec, ~/.dotfiles/scripts/powermenu
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, Space, exec, rofi -show drun
|
||||
#bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, S, pseudo, # dwindle
|
||||
bind = $mainMod, G, togglesplit, # dwindle
|
||||
bind = $mainMod, F1, exec, swaylock
|
||||
bind = $mainMod, W, exec, eww open --toggle powermenu
|
||||
bind = $mainMod, W, exec, firefox
|
||||
bind = $mainMod, F, exec, kitty -e ranger
|
||||
bind = $mainMod SHIFT, F, exec, dolphin
|
||||
bind = $mainMod, M, fullscreen, 1
|
||||
|
||||
bind = , XF86AudioMute, exec, pamixer -t
|
||||
bind = , XF86AudioRaiseVolume, exec, pamixer -i 2
|
||||
bind = , XF86AudioLowerVolume, exec, pamixer -d 2
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
|
@ -147,6 +154,15 @@ bind = $mainMod, K, movefocus, u
|
|||
bind = $mainMod, down, movefocus, d
|
||||
bind = $mainMod, J, movefocus, d
|
||||
|
||||
bind = $mainMod SHIFT, left, movewindow, l
|
||||
bind = $mainMod SHIFT, H, movewindow, l
|
||||
bind = $mainMod SHIFT, right, movewindow, r
|
||||
bind = $mainMod SHIFT, L, movewindow, r
|
||||
bind = $mainMod SHIFT, up, movewindow, u
|
||||
bind = $mainMod SHIFT, K, movewindow, u
|
||||
bind = $mainMod SHIFT, down, movewindow, d
|
||||
bind = $mainMod SHIFT, J, movewindow, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
|
@ -172,10 +188,28 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
|||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, bracketright, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
bind = $mainMod, bracketleft, workspace, e-1
|
||||
bind = $mainMod, bracketright, workspace, m+1
|
||||
bind = $mainMod, bracketleft, workspace, m-1
|
||||
|
||||
bind = $mainMod SHIFT, bracketright, movetoworkspace, m+1
|
||||
bind = $mainMod SHIFT, bracketleft, movetoworkspace, m-1
|
||||
|
||||
# Change monitors independely of workspace
|
||||
bind = $mainMod, period, focusmonitor, +1
|
||||
bind = $mainMod, comma, focusmonitor, +1
|
||||
|
||||
bind = $mainMod SHIFT, period, movecurrentworkspacetomonitor, +1
|
||||
bind = $mainMod SHIFT, comma, movecurrentworkspacetomonitor, +1
|
||||
|
||||
bind = $mainMod, N, workspace, empty
|
||||
bind = $mainMod SHIFT, N, movetoworkspace, empty
|
||||
|
||||
bind = $mainMod, C, togglespecialworkspace
|
||||
bind = $mainMod SHIFT, C, movetoworkspace, special
|
||||
bind = $mainMod SHIFT, C, togglespecialworkspace
|
||||
|
||||
bind = $mainMod, tab, workspace, previous
|
||||
bind = $mainMod SHIFT, tab, movetoworkspace, previous
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
|
|
Loading…
Reference in a new issue