all repos

dotfiles @ 394d56f

i use rach linux btw

dotfiles/config/sxhkd/sxhkdrc (view raw)

1
super + Return                   # Open terminal
2
    kitty
3
4
super + @space                   # Program launcher
5
    rofi -show drun -show cobi -show-icons
6
7
super + Escape                  # Exit manu
8
    rofi -show power-menu -width 30 -lines 6 -modi power-menu:~/.config/rofi/rofi-power-menu
9
10
super + ctrl + u                # Config editor
11
    ~/.script/dmenu/dmenu-config-edit.sh
12
13
super + q                       # Kill window
14
    bspc node -k
15
16
super + shift + r               # Restart bspwm
17
    bspc wm -r
18
19
super + g                       # swap the current node and the biggest window
20
    bspc node -s biggest.window
21
22
# Sceenshot
23
Print
24
    scrot -s /home/${USER}/$(date +%Y-%m-%d-%H-%M-%S).png
25
shift + Print
26
    scrot /home/${USER}/$(date +%Y-%m-%d-%H-%M-%S).png
27
28
super + {t,shift + t,s,f}
29
    bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
30
31
super + {_,shift + }{h,j,k,l}   # focus the node in the given direction
32
    bspc node -{f,s} {west,south,north,east}
33
34
super + {_,shift + }{1-9,0}     # focus or send to the given desktop
35
    bspc {desktop -f,node -d} '^{1-9,10}'
36
37
super + ctrl + {h,j,k,l}        # preselect the direction
38
    bspc node -p {west,south,north,east}
39
40
super + ctrl + {1-9}            # preselect the ratio
41
    bspc node -o 0.{1-9}
42
43
super + ctrl + space            # cancel the preselection for the focused node
44
    bspc node -p cancel
45
46
super + alt + {h,j,k,l}         # expand a window by moving one of its side outward
47
    bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
48
49
super + alt + shift + {h,j,k,l} # contract a window by moving one of its side inward
50
    bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
51
52
super + {Left,Down,Up,Right}    # move a floating window
53
    bspc node -v {-20 0,0 20,0 -20,20 0}