all repos

dotfiles @ 394d56f

my dotfiles

config/sxhkd/sxhkdrc (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
super + Return                   # Open terminal
    kitty

super + @space                   # Program launcher
    rofi -show drun -show cobi -show-icons

super + Escape                  # Exit manu
    rofi -show power-menu -width 30 -lines 6 -modi power-menu:~/.config/rofi/rofi-power-menu

super + ctrl + u                # Config editor
    ~/.script/dmenu/dmenu-config-edit.sh

super + q                       # Kill window
    bspc node -k

super + shift + r               # Restart bspwm
    bspc wm -r

super + g                       # swap the current node and the biggest window
    bspc node -s biggest.window

# Sceenshot
Print
    scrot -s /home/${USER}/$(date +%Y-%m-%d-%H-%M-%S).png
shift + Print
    scrot /home/${USER}/$(date +%Y-%m-%d-%H-%M-%S).png

super + {t,shift + t,s,f}
    bspc node -t {tiled,pseudo_tiled,floating,fullscreen}

super + {_,shift + }{h,j,k,l}   # focus the node in the given direction
    bspc node -{f,s} {west,south,north,east}

super + {_,shift + }{1-9,0}     # focus or send to the given desktop
    bspc {desktop -f,node -d} '^{1-9,10}'

super + ctrl + {h,j,k,l}        # preselect the direction
    bspc node -p {west,south,north,east}

super + ctrl + {1-9}            # preselect the ratio
    bspc node -o 0.{1-9}

super + ctrl + space            # cancel the preselection for the focused node
    bspc node -p cancel

super + alt + {h,j,k,l}         # expand a window by moving one of its side outward
    bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}

super + alt + shift + {h,j,k,l} # contract a window by moving one of its side inward
    bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}

super + {Left,Down,Up,Right}    # move a floating window
    bspc node -v {-20 0,0 20,0 -20,20 0}