add keyboard shortucts for resizing windows
This commit is contained in:
@@ -183,7 +183,7 @@ bind = $mainMod, E, exec, $fileManager
|
|||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, V, togglefloating,
|
||||||
bind = $mainMod, R, exec, $menu
|
bind = $mainMod, R, exec, $menu
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, 1, togglesplit, # dwindle
|
||||||
bind = $mainMod, B, exec, firefox
|
bind = $mainMod, B, exec, firefox
|
||||||
bind = $mainMod SHIFT, B, exec, firefox --private-window
|
bind = $mainMod SHIFT, B, exec, firefox --private-window
|
||||||
bind = ALT, F, exec, protonvpn-cli c -f
|
bind = ALT, F, exec, protonvpn-cli c -f
|
||||||
@@ -242,6 +242,12 @@ bind = $mainMod, mouse_up, workspace, e-1
|
|||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
|
# Move/resize windows with mainMod + arrow keys
|
||||||
|
bindel = $mainMod SHIFT, right, resizeactive, 10 0
|
||||||
|
bindel = $mainMod SHIFT, left, resizeactive, -10 0
|
||||||
|
bindel = $mainMod SHIFT, up, resizeactive, 0 -10
|
||||||
|
bindel = $mainMod SHIFT, down, resizeactive, 0 10
|
||||||
|
|
||||||
# Media Key binds
|
# Media Key binds
|
||||||
# Example volume button that allows press and hold, volume limited to 150%
|
# Example volume button that allows press and hold, volume limited to 150%
|
||||||
bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
@@ -290,3 +296,4 @@ windowrulev2 = monitor 1,class:(hollow_knight.exe)
|
|||||||
windowrulev2 = workspace 10,class:(hollow_knight.exe)
|
windowrulev2 = workspace 10,class:(hollow_knight.exe)
|
||||||
workspace = 10, border:false, rounding:false,gapsin:0,gapsout:0,shadow:false,rounding:false,decorare:false,on-created-empty:bash ~/.config/hypr/gamemode.sh
|
workspace = 10, border:false, rounding:false,gapsin:0,gapsout:0,shadow:false,rounding:false,decorare:false,on-created-empty:bash ~/.config/hypr/gamemode.sh
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user