hy3
This commit is contained in:
+52
-15
@@ -107,7 +107,9 @@ general {
|
||||
# windows get positioned on an infinitely growing tape
|
||||
# monocle: https://wiki.hypr.land/Configuring/Monocle-Layout/
|
||||
# windows are always taking up the entire available space
|
||||
layout = dwindle
|
||||
#layout = dwindle
|
||||
|
||||
layout = hy3
|
||||
}
|
||||
|
||||
|
||||
@@ -285,10 +287,14 @@ bind = $mainMod, PRINT, exec, screenshot.sh window # window
|
||||
#bind = $mainMod + L, exec, sh -c 'if hyprctl -j getoption general:layout | jq -r .str | grep -q "dwindle"; then hyprctl keyword general:layout master; else hyprctl keyword general:layout dwindle; fi'
|
||||
|
||||
# split mode
|
||||
bind = $mainMod, H, layoutmsg, preselect r # next window to the right (horizontal mode)
|
||||
bind = $mainMod SHIFT, H, layoutmsg, preselect r # next window to the left
|
||||
bind = $mainMod, V, layoutmsg, preselect d # next window to the top (vertical mode)
|
||||
bind = $mainMod SHIFT, V, layoutmsg, preselect d # next window to the bottom
|
||||
# normal:
|
||||
#bind = $mainMod, H, layoutmsg, preselect r # next window to the right (horizontal mode)
|
||||
#bind = $mainMod SHIFT, H, layoutmsg, preselect r # next window to the left
|
||||
#bind = $mainMod, V, layoutmsg, preselect d # next window to the top (vertical mode)
|
||||
#bind = $mainMod SHIFT, V, layoutmsg, preselect d # next window to the bottom
|
||||
# hy3:
|
||||
bind = $mainMod, h, hy3:makegroup, h # split horizontal
|
||||
bind = $mainMod, v, hy3:makegroup, v # split vertical
|
||||
|
||||
# resize
|
||||
#bind = $mainMod, R, submap, resize
|
||||
@@ -305,10 +311,16 @@ bind = $mainMod SHIFT, V, layoutmsg, preselect d # next window to the bottom
|
||||
bind = ALT, Tab, focuscurrentorlast # switch focus from current to previous window
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
# normal:
|
||||
#bind = $mainMod, left, movefocus, l
|
||||
#bind = $mainMod, right, movefocus, r
|
||||
#bind = $mainMod, up, movefocus, u
|
||||
#bind = $mainMod, down, movefocus, d
|
||||
# hy3:
|
||||
bind = $mainMod, left, hy3:movefocus, l
|
||||
bind = $mainMod, right, hy3:movefocus, r
|
||||
bind = $mainMod, up, hy3:movefocus, u
|
||||
bind = $mainMod, down, hy3:movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
@@ -335,14 +347,22 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# move window
|
||||
|
||||
# normal:
|
||||
#bind = $mainMod SHIFT, left, movewindoworgroup, l
|
||||
#bind = $mainMod SHIFT, right, movewindoworgroup, r
|
||||
#bind = $mainMod SHIFT, up, movewindoworgroup, u
|
||||
#bind = $mainMod SHIFT, down, movewindoworgroup, d
|
||||
bind = $mainMod SHIFT, left, exec, hypr-snap.sh l
|
||||
bind = $mainMod SHIFT, right, exec, hypr-snap.sh r
|
||||
bind = $mainMod SHIFT, up, exec, hypr-snap.sh u
|
||||
bind = $mainMod SHIFT, down, exec, hypr-snap.sh d
|
||||
# hypr-snap.sh
|
||||
#bind = $mainMod SHIFT, left, exec, hypr-snap.sh l
|
||||
#bind = $mainMod SHIFT, right, exec, hypr-snap.sh r
|
||||
#bind = $mainMod SHIFT, up, exec, hypr-snap.sh u
|
||||
#bind = $mainMod SHIFT, down, exec, hypr-snap.sh d
|
||||
#hy3
|
||||
bind = $mainMod SHIFT, left, hy3:movewindow, l
|
||||
bind = $mainMod SHIFT, right, hy3:movewindow, r
|
||||
bind = $mainMod SHIFT, up, hy3:movewindow, u
|
||||
bind = $mainMod SHIFT, down, hy3:movewindow, d
|
||||
|
||||
# move floating window
|
||||
binde = $mainMod ALT, left, moveactive, -40 0
|
||||
@@ -444,8 +464,25 @@ env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
####################################################
|
||||
# https://wiki.hypr.land/Plugins/Using-Plugins/
|
||||
|
||||
#plugin {
|
||||
#}
|
||||
|
||||
# hy3
|
||||
# https://github.com/outfoxxed/hy3
|
||||
# install:
|
||||
# hyprpm add https://github.com/outfoxxed/hy3
|
||||
# update:
|
||||
# hyprpm update` or `hyprpm update -f
|
||||
|
||||
exec-once = hyprpm reload -n
|
||||
|
||||
|
||||
|
||||
|
||||
plugin {
|
||||
hy3 {
|
||||
# optional, these are the defaults
|
||||
tabs_enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
####################################################
|
||||
|
||||
Reference in New Issue
Block a user