This commit is contained in:
Yuri Zamyatin 2025-01-05 21:51:46 +00:00
parent 6f7e510745
commit 41a28e2568
2 changed files with 14 additions and 20 deletions

View File

@ -13,10 +13,11 @@ PACKAGES=(
dash shellcheck # shell scripting
hugo miniserve neomutt translate-shell # www
gnupg pass pass-otp # crypt
jq qalc # data processing
git zip # others
# desktop env
greetd sway swaybg xorg-xwayland # basic
greetd sway swaybg swayidle xorg-xwayland # basic
foot bemenu-wayland i3blocks mako libnotify # terminals, ui
wev wl-clipboard wtype slurp grim # interaction
ttf-roboto ttf-roboto-mono # fonts

View File

@ -66,43 +66,36 @@ bindgesture swipe:left workspace next
############################################
############### containers #################
# top row - layout modes
# top row - layout modes, resize
bindsym --to-code $mod+q layout stacking
bindsym --to-code $mod+w layout tabbed
bindsym --to-code $mod+f fullscreen
bindsym --to-code $mod+p layout toggle split
bindsym --to-code $mod+l splitv
bindsym --to-code $mod+u splith
# mid row - focus and movement
bindsym --to-code $mod+y resize shrink height 4ppt or 40px
bindsym --to-code $mod+Semicolon resize grow height 4ppt or 40px
bindsym --to-code $mod+Bracketleft resize shrink width 2ppt or 40px
bindsym --to-code $mod+Bracketright resize grow width 2ppt or 40px
# mid row - focus, movement
bindsym --to-code $mod+$fwd focus child
bindsym --to-code $mod+$left focus left
bindsym --to-code $mod+$down focus down
bindsym --to-code $mod+$up focus up
bindsym --to-code $mod+$right focus right
bindsym --to-code $mod+$bwd focus parent
bindsym --to-code $altmod+$left move left
bindsym --to-code $altmod+$up move up
bindsym --to-code $altmod+$down move down
bindsym --to-code $altmod+$right move right
mode "resize" {
bindsym --to-code $mod+$left resize shrink width 2ppt or 40px
bindsym --to-code $mod+$up resize shrink height 2ppt or 40px
bindsym --to-code $mod+$down resize grow height 2ppt or 40px
bindsym --to-code $mod+$right resize grow width 2ppt or 40px
bindsym --to-code $altmod+$left move left 40px
bindsym --to-code $altmod+$up move up 40px
bindsym --to-code $altmod+$down move down 40px
bindsym --to-code $altmod+$right move right 40px
bindsym --to-code $mod+h mode "default"
}
# bottom row - modeless, extra focus and movement
bindsym --to-code $altmod+$left move left 40px
bindsym --to-code $altmod+$up move up 40px
bindsym --to-code $altmod+$down move down 40px
bindsym --to-code $altmod+$right move right 40px
# bottom row - modeless, extra focus
floating_modifier $mod normal
bindsym --to-code $altmod+x move scratchpad
bindsym --to-code $mod+x scratchpad show
bindsym --to-code $altmod+z floating toggle
bindsym --to-code $mod+z focus mode_toggle
bindsym --to-code $mod+h mode "resize"
bindsym --to-code $mod+k focus prev sibling
bindsym --to-code $mod+h sticky toggle
bindsym --to-code $mod+slash focus next sibling
############################################