Remove unused key bindings
This commit is contained in:
parent
a480eb56b0
commit
05f316edeb
145
sxhkd.org
145
sxhkd.org
@ -151,10 +151,6 @@ super + e
|
||||
|
||||
* =Super + Shift= - Managing Applications
|
||||
#+begin_src conf
|
||||
# Network Manager
|
||||
super + shift + w
|
||||
$TERMINAL --title nmtui -e sudo nmtui
|
||||
|
||||
# Bluetooth Manager
|
||||
super + shift + b
|
||||
blueman-manager
|
||||
@ -167,10 +163,6 @@ super + shift + c
|
||||
super + shift + s
|
||||
pavucontrol
|
||||
|
||||
# Bookmarks
|
||||
super + shift + f
|
||||
bukurun
|
||||
|
||||
# Passwords
|
||||
super + shift + p
|
||||
rofi-pass
|
||||
@ -184,20 +176,12 @@ super + space ; c
|
||||
|
||||
# pcmanfm: GUI file manager
|
||||
super + space ; o
|
||||
pcmanfm;
|
||||
|
||||
# Download with Aria2c
|
||||
super + space ; d
|
||||
$TERMINAL -e tmux new-session -A -s aria2p aria2p --port 6800 --host http://dl.tdehaeze.xyz --secret $(pass dl.tdehaeze.xyz/tdehaeze | sed -n 1p)
|
||||
nautilus;
|
||||
|
||||
# Run another instance of Neomutt in read-only mode
|
||||
super + space ; m
|
||||
$TERMINAL -e neomutt -R
|
||||
|
||||
# News with newsboat
|
||||
super + space ; n
|
||||
$TERMINAL -e tmux new-session -A -s newsboat newsboat
|
||||
|
||||
# Music with ncmpcpp
|
||||
super + space ; p
|
||||
$TERMINAL -e tmux new-session -A -s ncmpcpp ncmpcpp
|
||||
@ -206,136 +190,9 @@ super + space ; p
|
||||
super + space ; i
|
||||
$BROWSER;
|
||||
|
||||
# Start Torrent Managaer
|
||||
super + space ; t
|
||||
$TERMINAL -e tremc
|
||||
|
||||
# Emacs
|
||||
super + space ; e
|
||||
emacsclient -create-frame --alternate-editor=""
|
||||
|
||||
# Weather
|
||||
super + space ; shift + w
|
||||
weather;
|
||||
#+end_src
|
||||
|
||||
* BSPWM related
|
||||
:PROPERTIES:
|
||||
:header-args:conf+: :tangle ~/.config/sxhkd/sxhkdrc.bspwm
|
||||
:END:
|
||||
|
||||
** BSPWM hotkeys
|
||||
#+begin_src conf
|
||||
# quit/restart bspwm
|
||||
super + alt + {q,r}
|
||||
bspc {quit,wm -r}
|
||||
|
||||
# close and kill
|
||||
super + {_,shift + }q
|
||||
bspc node -{c,k}
|
||||
#+end_src
|
||||
|
||||
** Monocle Layout
|
||||
#+begin_src conf
|
||||
# alternate between the tiled and monocle layout
|
||||
super + m
|
||||
bspc desktop -l next
|
||||
|
||||
# focus the next/previous node in the current desktop
|
||||
super + c
|
||||
bspc node -f next.local
|
||||
#+end_src
|
||||
|
||||
** Set the window State
|
||||
#+begin_src conf
|
||||
# Set the window state to tiled
|
||||
super + t
|
||||
bspc node -t tiled
|
||||
|
||||
|
||||
# Toggle Fullscreen State
|
||||
super + f
|
||||
if [ -z "$(bspc query -N -n focused.fullscreen)" ]; then \
|
||||
bspc node focused -t fullscreen; \
|
||||
else \
|
||||
bspc node focused -t tiled; \
|
||||
fi
|
||||
|
||||
# Toggle Floating State
|
||||
super + s
|
||||
if [ -z "$(bspc query -N -n focused.floating)" ]; then \
|
||||
bspc node focused -t floating; \
|
||||
else \
|
||||
bspc node focused -t tiled; \
|
||||
fi
|
||||
#+end_src
|
||||
|
||||
** Sticky Window
|
||||
#+begin_src conf
|
||||
# set the node flags
|
||||
super + ctrl + y
|
||||
bspc node -g sticky
|
||||
#+end_src
|
||||
|
||||
** Focus and Swap
|
||||
#+begin_src conf
|
||||
# Focus/swap the node in the given direction
|
||||
super + {_,shift + }{h,j,k,l}
|
||||
bspc node -{f,s} {west,south,north,east}
|
||||
|
||||
# focus the last Node
|
||||
super + Tab
|
||||
bspc node -f last
|
||||
#+end_src
|
||||
|
||||
#+begin_src conf
|
||||
# Focus the next/previous desktop in the current monitor
|
||||
super + {p,n}
|
||||
bspc desktop -f {prev,next}.local
|
||||
|
||||
# focus the last Desktop
|
||||
super + b
|
||||
bspc desktop -f last
|
||||
|
||||
# focus or send to the given desktop
|
||||
super + {_,ctrl + }{1-9}
|
||||
bspc {desktop -f,node -d} '^{1-9}'
|
||||
|
||||
# Send and Focus to the given desktop
|
||||
super + shift + {1-9}
|
||||
bspc node -d '^{1-9}' --follow
|
||||
#+end_src
|
||||
|
||||
** Preselect
|
||||
#+begin_src conf
|
||||
# preselect the direction
|
||||
super + ctrl + {h,j,k,l}
|
||||
bspc node -p {west,south,north,east}
|
||||
|
||||
# preselect the ratio
|
||||
# super + ctrl + {1-9}
|
||||
# bspc node -o 0.{1-9}
|
||||
|
||||
# cancel the preselection for the focused node
|
||||
super + ctrl + space
|
||||
bspc node -p cancel
|
||||
#+end_src
|
||||
|
||||
** Resize
|
||||
#+begin_src conf
|
||||
# expand a window by moving one of its side outward
|
||||
super + alt + {h,j,k,l}
|
||||
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
||||
|
||||
# contract a window by moving one of its side inward
|
||||
super + alt + shift + {h,j,k,l}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||
#+end_src
|
||||
|
||||
#+begin_src conf
|
||||
# move a floating window
|
||||
super + {Left,Down,Up,Right}
|
||||
bspc node -v {-20 0,0 20,0 -20,20 0}
|
||||
#+end_src
|
||||
|
||||
* I3 related
|
||||
|
Loading…
Reference in New Issue
Block a user