Advertisement
Guest User

Untitled

a guest
Dec 9th, 2024
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. #####Shortcuts#####
  2.  
  3. # terminal emulator
  4. super + Return
  5. kitty
  6.  
  7. # launcher
  8. super + d
  9. rofi -show drun
  10.  
  11. # Firefox
  12. super + b
  13. firefox
  14.  
  15. # Screenshot
  16. super + s
  17. flameshot gui
  18.  
  19. # make sxhkd reload its configuration files:
  20. super + Escape
  21. pkill -USR1 -x sxhkd
  22.  
  23.  
  24.  
  25. #####bspwm hotkeys#####
  26.  
  27. # quit/restart bspwm
  28. super + alt + {q,r}
  29. bspc {quit,wm -r}
  30.  
  31. # close and kill
  32. super + {_,shift + }w
  33. bspc node -{c,k}
  34.  
  35. # alternate between the tiled and monocle layout
  36. super + m
  37. bspc desktop -l next
  38.  
  39. # Switch to desktop
  40. super + {1-9}
  41. bspc desktop -f ^{1-9}
  42.  
  43. #####Window control#####
  44.  
  45. # expand window
  46. super + alt + {Left,Down,Up,Right}
  47. bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
  48.  
  49. # unexpand window
  50. super + alt + shift + {Left,Down,Up,Right}
  51. bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
  52.  
  53. # resize gaps
  54. super { ,+ shift }+ z
  55. bspc config window_gap $(($(bspc config window_gap) {+,-} 3))
  56.  
  57. # focus or send to the given desktop
  58. super + {_,shift + }{1-9,0}
  59. bspc {desktop -f,node -d} '^{1-9,10}'
  60.  
  61. # focus the last node/desktop
  62. super + {grave,Tab}
  63. bspc {node,desktop} -f last
  64.  
  65. # focus the node in the given direction
  66. super + {_,shift + }{Left,Down,Up,Right}
  67. bspc node -{f,s} {west,south,north,east}
  68.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement