mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
feat(hypr): Resize and resize submap
This commit is contained in:
parent
b66b442dba
commit
e167d883a0
5 changed files with 97 additions and 6 deletions
|
|
@ -8,3 +8,28 @@ bind = $mainMod SHIFT, E, swapwindow, u
|
|||
bind = $mainMod SHIFT, N, swapwindow, d
|
||||
bind = $mainMod, F, exec, $fileManager
|
||||
|
||||
bind = $mainMod CTRL, i, resizeactive, 10 0
|
||||
bind = $mainMod CTRL, h, resizeactive, -10 0
|
||||
bind = $mainMod CTRL, e, resizeactive, 0 -10
|
||||
bind = $mainMod CTRL, n, resizeactive, 0 10
|
||||
|
||||
submap = resize
|
||||
|
||||
binde = , right, resizeactive, 10 0
|
||||
binde = , left, resizeactive, -10 0
|
||||
binde = , up, resizeactive, 0 -10
|
||||
binde = , down, resizeactive, 0 10
|
||||
|
||||
binde = , i, resizeactive, 10 0
|
||||
binde = , h, resizeactive, -10 0
|
||||
binde = , e, resizeactive, 0 -10
|
||||
binde = , n, resizeactive, 0 10
|
||||
|
||||
binde = SHIFT, I, resizeactive, 40 0
|
||||
binde = SHIFT, H, resizeactive, -40 0
|
||||
binde = SHIFT, E, resizeactive, 0 -40
|
||||
binde = SHIFT, N, resizeactive, 0 40
|
||||
|
||||
bind = , escape, submap, reset
|
||||
|
||||
submap = reset
|
||||
|
|
|
|||
|
|
@ -8,4 +8,28 @@ bind = $mainMod SHIFT, K, swapwindow, u
|
|||
bind = $mainMod SHIFT, J, swapwindow, d
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
|
||||
bind = $mainMod CTRL, l, resizeactive, 10 0
|
||||
bind = $mainMod CTRL, h, resizeactive, -10 0
|
||||
bind = $mainMod CTRL, k, resizeactive, 0 -10
|
||||
bind = $mainMod CTRL, j, resizeactive, 0 10
|
||||
|
||||
submap = resize
|
||||
|
||||
binde = , right, resizeactive, 10 0
|
||||
binde = , left, resizeactive, -10 0
|
||||
binde = , up, resizeactive, 0 -10
|
||||
binde = , down, resizeactive, 0 10
|
||||
|
||||
binde = , l, resizeactive, 10 0
|
||||
binde = , h, resizeactive, -10 0
|
||||
binde = , k, resizeactive, 0 -10
|
||||
binde = , j, resizeactive, 0 10
|
||||
|
||||
binde = SHIFT, L, resizeactive, 40 0
|
||||
binde = SHIFT, H, resizeactive, -40 0
|
||||
binde = SHIFT, K, resizeactive, 0 -40
|
||||
binde = SHIFT, J, resizeactive, 0 40
|
||||
|
||||
bind = , escape, submap, reset
|
||||
|
||||
submap = reset
|
||||
|
|
|
|||
|
|
@ -10,6 +10,11 @@ bind = $mainMod, Page_Up, fullscreen
|
|||
bind = ALT, Tab, cyclenext, # change focus to another window
|
||||
bind = ALT SHIFT, Tab, cyclenext,prev # change focus to another window
|
||||
|
||||
## Submaps
|
||||
|
||||
|
||||
bind = $mainMod SHIFT, R, submap, resize
|
||||
bind = $mainMod, A, submap, apps
|
||||
|
||||
|
||||
## Launcher
|
||||
|
|
@ -18,6 +23,7 @@ bind = $mainMod, V, exec, cliphist list | $menu -dmenu | cliphist decode | wl-co
|
|||
bind = $mainMod, D, exec, $HOME/.local/scripts/picker/sdcv.sh
|
||||
bind = alt, space, exec, $menu -show drun -icon-theme $iconTheme -show-icons
|
||||
bind = $mainMod, SLASH, exec, $HOME/.local/scripts/picker/baloo.sh
|
||||
bind = $mainMod SHIFT, SLASH, exec, $HOME/.local/scripts/picker/keybinds.sh
|
||||
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, X, togglesplit, # dwindle
|
||||
|
|
@ -83,3 +89,23 @@ bindl = , XF86AudioNext, exec, playerctl next
|
|||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
# Submaps
|
||||
|
||||
|
||||
# submap = apps
|
||||
#
|
||||
# binde = , a, exec, cherry-studio # AI
|
||||
# binde = , c, exec, code # VSCode
|
||||
# binde = , d, exec, dolphin
|
||||
# binde = , e, exec, emacs
|
||||
# binde = , f, exec, firefox
|
||||
# binde = , g, exec, gimp
|
||||
# binde = , o, exec, obsidian
|
||||
# binde = , v, exec, vivaldi
|
||||
# binde = SHIFT, v, exec, neovide
|
||||
#
|
||||
#
|
||||
# bind = , escape, submap, reset
|
||||
#
|
||||
# submap = reset
|
||||
|
|
|
|||
|
|
@ -76,3 +76,7 @@ windowrulev2 = size 50%, title:^(预览)(.*)$
|
|||
windowrulev2 = center, title:^(图片查看器)(.*)$
|
||||
windowrulev2 = float, title:^(图片查看器)(.*)$
|
||||
windowrulev2 = size 50%, title:^(图片查看器)(.*)$
|
||||
|
||||
# Pin: Rofi will display in all wsps
|
||||
windowrulev2 = pin, class:^(Rofi)$
|
||||
windowrulev2 = stayfocused, class:^(Rofi)$
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue