-
Notifications
You must be signed in to change notification settings - Fork 0
/
sxhkdrc
131 lines (91 loc) · 2.58 KB
/
sxhkdrc
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
super + Return
st
super + ctrl + Return
sh $DOTFILES/scripts/term_from_term.sh
super+d
sh $DOTFILES/scripts/dmenu_run_history.sh
super + shift + r
pkill -USR1 -x sxhkd
@Print
scrot '%Y-%m-%d_$wx$h.png' -sf -e 'xclip -sel clip -t image/png $f && rm $f'
shift + @Print
scrot -s -e 'scrot-rename $f'
super + @Print
scrot -s -e 'mv $f /tmp/ && sxiv -b -g $wx$h -p /tmp/$f && rm /tmp/$f'
XF86AudioPlay
playerctl play-pause
XF86AudioStop
playerctl stop
XF86AudioNext
playerctl next
XF86AudioPrev
playerctl previous
XF86AudioRaiseVolume
volume +
XF86AudioLowerVolume
volume -
XF86AudioMute
volume mute
XF86AudioMicMute
volume mute_mic
XF86MonBrightnessUp
brightness +
XF86MonBrightnessDown
brightness -
XF86Display
xrandr --auto
super + shift + space
bspc node -t \~floating
super + s
bspc node -t \~sticky
super + f
bspc node -t \~fullscreen
super + shift + q
bspc node -c
super + {1-9,0}
bspc desktop -f {1-9,10}
super + shift + {1-9,0}
bspc node -d '{1-9,10}' --follow
super + control + {1-9,0}
bspc node -d '{1-9,10}'
super + alt + {h,l}
bspc node --to-monitor {prev,next} --follow
alt + Tab
bspc desktop -f last.occupied
super + {_,shift +} Tab
bspc desktop -f {next,prev}.local.occupied
super + e
bspc desktop --layout next
super + r
bspc node $(bspc query --nodes --desktop | head -1) --circulate forward
super + shift + e
bspc node $(bspc query --nodes --desktop | head -1) --equalize
super + q ; {h,j,k,l}
bspc node --presel-dir \~{west,south,north,east}
super + {_,shift +} apostrophe
bspc node -t {\~pseudo_tiled,tiled}
super + i
bspc node $(bspc query --nodes --desktop | head -1) -g hidden
super + {h,j,k,l}
dir={(west backward),(south backward),(north forward),(east forward)}; \
bspc node --focus $\{dir[0]\}.!floating
super + shift + s
bspc node -g sticky
super + shift + m
if marked=$(bspc query -N -n .marked); then \
bspc node --swap $marked ; \
bspc node $marked -g 'marked=off' ; \
else \
bspc node -g marked ; \
fi
# expand a window by moving one of its side outward
Escape + super + {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}
super + comma
bspc node --state pseudo_tiled; \
bspc node --resize bottom_right 50 800
alt + l
i3lock -fup win -i $DOTFILES/images/lock.png