summaryrefslogtreecommitdiff
path: root/.config/sxhkd/sxhkdrc
blob: 1045986eb58f3f216362bb6ba667ba24fccd1f74 (plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#
# bspwm hotkeys
#

ctrl + alt + q
	quitmenu

alt + F4
    bspc window -c

shift + alt + F4
    bspc window -k

# Switch layout
ctrl + alt + l
    bspc desktop -l next

# Balance Tree
ctrl + alt + b
    bspc desktop -B

# Toggle Fullscreen/Floating
ctrl + alt + {s,f}
    bspc window -t {floating,fullscreen}

# Focus last selected Window / Desktop
#super + {grave,Tab}
#    bspc {window,desktop} -f last

# Circulate Tree
ctrl + alt + {Prior,Next}
	bspc desktop -C {forward,backward}

# Rotate
alt + shift + {Prior,Next}
	bspc window -R {90,270}

ctrl + alt + shift + {Prior,Next}
	bspc desktop -R {90,270}

# Swap with last selected window
#super + apostrophe
#    bspc window -s last

ctrl + alt + t; ctrl + alt + t
    bspc window -w last.manual

ctrl + alt + t; ctrl + alt + {Left,Down,Up,Right}
    bspc window -w {Left,Down,Up,Right}

# Swap current window with biggest
ctrl + alt + m
    bspc window -s biggest

# Select / Swap with Window in Dir
alt + {_,shift + }{Left,Down,Up,Right}
    bspc window -{f,s} {left,down,up,right}

# Switch window (alt tab)
alt + {_,shift + }Tab
    bspc window -f {next,prev}

# Navigate Desktops
alt + {Prior,Next}
    bspc desktop -f {prev,next}

# Preselect splitting (CHORD)
ctrl + alt + p; ctrl + alt + {Left,Down,Up,Right}
    bspc window -p {left,down,up,right}

# Cancel (all) preselections
ctrl + alt + p; ctrl + alt {_, + shift}+ c
	bspc {window -p cancel,desktop -c}

#change spliting
ctrl + alt + {Left,Down,Up,Right}
    bspc window -e {left,down,up,right} push

ctrl + alt + shift + {Left,Down,Up,Right}
    bspc window -e {right,up,down,left} pull

#super + ctrl + {1-9}
#    bspc window -r 0.{1-9}

# Change /move to desktop
ctrl + alt + {_,shift + }{1-9,0}
    bspc {desktop -f,window -d} ^{1-9,10}

# Stuff for mouse focus, resize, ...
~button1
    bspc pointer -g focus

alt + button{1-3}
    bspc pointer -g {move,resize_side,resize_corner}

alt + !button{1-3}
    bspc pointer -t %i %i

#
# wm independent hotkeys
#

alt + asciicircum
    xfce4-terminal

alt + F2
    dmenu_run

# make sxhkd reload its configuration files:
ctrl + alt + r
    pkill -USR1 -x sxhkd

ctrl + shift + Return
	mydmenu