Remove dead sxhkdrc.i3 section (i3 bindings handled by i3 config)
This commit is contained in:
99
sxhkd.org
99
sxhkd.org
@@ -204,102 +204,3 @@ super + space ; p
|
|||||||
super + space ; t
|
super + space ; t
|
||||||
$TERMINAL -e tmux new-session -A -s stig stig
|
$TERMINAL -e tmux new-session -A -s stig stig
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* I3 related
|
|
||||||
:PROPERTIES:
|
|
||||||
:header-args:conf+: :tangle ~/.config/sxhkd/sxhkdrc.i3
|
|
||||||
:END:
|
|
||||||
|
|
||||||
** Kill Window
|
|
||||||
#+begin_src conf
|
|
||||||
# close and kill
|
|
||||||
super + q
|
|
||||||
i3-msg kill
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** Set the window State
|
|
||||||
#+begin_src conf
|
|
||||||
# Set the window to full-screen
|
|
||||||
super + f
|
|
||||||
i3-msg fullscreen toggle
|
|
||||||
|
|
||||||
# Set the window to floating
|
|
||||||
super + s
|
|
||||||
i3-msg floating toggle
|
|
||||||
|
|
||||||
# Alternate between the tiled and normal layout
|
|
||||||
super + t
|
|
||||||
i3-msg layout toggle tabbed split
|
|
||||||
|
|
||||||
# Change focus between tiling / floating windows
|
|
||||||
super + c
|
|
||||||
i3-msg focus mode_toggle
|
|
||||||
|
|
||||||
# Sticky window
|
|
||||||
super + y
|
|
||||||
i3-msg sticky toggle
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** focus/swap
|
|
||||||
#+begin_src conf
|
|
||||||
# Focus/swap the node in the given direction
|
|
||||||
super + {_,shift + }{h,Left}
|
|
||||||
i3-msg {focus,move} left
|
|
||||||
super + {_,shift + }{j,Down}
|
|
||||||
i3-msg {focus,move} down
|
|
||||||
super + {_,shift + }{k,Up}
|
|
||||||
i3-msg {focus,move} up
|
|
||||||
super + {_,shift + }{l,Right}
|
|
||||||
i3-msg {focus,move} right
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+begin_src conf
|
|
||||||
# Focus the next/previous desktop in the current monitor
|
|
||||||
super + {p,n}
|
|
||||||
i3-msg workspace {prev,next}
|
|
||||||
|
|
||||||
# Focus the last Desktop
|
|
||||||
super + b
|
|
||||||
i3-msg workspace back_and_forth
|
|
||||||
|
|
||||||
# Focus to the given desktop
|
|
||||||
super + {1-9}
|
|
||||||
i3-msg workspace '{1-9}'
|
|
||||||
|
|
||||||
# Send to the given desktop
|
|
||||||
super + ctrl + {1-9}
|
|
||||||
i3-msg move container to workspace '{1-9}'
|
|
||||||
|
|
||||||
# Focus and Send to the given desktop
|
|
||||||
super + shift + {1-9}
|
|
||||||
WP={1-9} && i3-msg move container to workspace $WP && i3-msg workspace $WP
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** Preselect
|
|
||||||
Preselect the direction
|
|
||||||
#+begin_src conf
|
|
||||||
# Set Horizontal Layout
|
|
||||||
super + ctrl + {h,l,Left,Right}
|
|
||||||
i3-msg split h
|
|
||||||
|
|
||||||
# Set Vertical Layout
|
|
||||||
super + ctrl + {j,k,Up,Down}
|
|
||||||
i3-msg split v
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** Resize
|
|
||||||
Expand/Shrink a window
|
|
||||||
#+begin_src conf
|
|
||||||
# Horizontal Shrink
|
|
||||||
super + alt + h
|
|
||||||
i3-msg resize shrink width 10 px or 10 ppt
|
|
||||||
# Vertical Grow
|
|
||||||
super + alt + j
|
|
||||||
i3-msg resize grow height 10 px or 10 ppt
|
|
||||||
# Vertical Shrink
|
|
||||||
super + alt + k
|
|
||||||
i3-msg resize shrink height 10 px or 10 ppt
|
|
||||||
# Horizontal Grow
|
|
||||||
super + alt + l
|
|
||||||
i3-msg resize grow width 10 px or 10 ppt
|
|
||||||
#+end_src
|
|
||||||
|
|||||||
Reference in New Issue
Block a user