-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsxhkdrc
executable file
·122 lines (98 loc) · 2.29 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
################### Other Shortcuts ######################################
# terminal
super + Return
$TERMINAL
super + f
$TERMINAL -e $FILE
super + m
$TERMINAL -e neomutt
super + s
$TERMINAL -e spt
super + n
$TERMINAL -e ncmpcpp
super + grave
svlist
# browser
super + b
$BROWSER
super + ctrl + b
$BROWSER --incognito
# dmenu
super + x
sysact
super + slash
dmenu_run -l 7 -c
super + w
clipmenu -c
# screenshot
Print
screenshot
super + Print
screenshot select
super + shift + Print
screenshot window
# start/kill compositor
super + c
compositor
# notifications
ctrl + space
dunstctl close-all
ctrl + grave
dunstctl history-pop
# controls (brightness)
XF86MonBrightnessUp
brightness up
XF86MonBrightnessDown
brightness down
#controls (audio)
XF86AudioMute
pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+10 dwmblocks
XF86Audio{Raise,Lower}Volume
pactl set-sink-volume @DEFAULT_SINK@ {+,-}5% && pkill -RTMIN+10 dwmblocks
# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd; notify-send "sxhkd" "Configuration Reloaded!"
################### BSPWM Shortcuts ######################################
# # quit/restart bspwm
# super + shift + {e,r}
# bspc {quit,wm -r}
#
# # focus the last node/desktop
# alt + Tab
# bspc desktop -f last
#
# # close and kill
# super + shift + q
# bspc node -{c,k}
#
# # focus or send to the given desktop
# super + {_,shift + }{1-9,0}
# bspc {desktop -f,node -d} '^{1-9,10}'
#
# # preselect the direction
# super + ctrl + {h,j,k,l}
# bspc node -p {west,south,north,east}
#
# # focus the older or newer node in the focus history
# super + {j,k}
# bspc node -f {next,prev}.local.!hidden.window
#
# # focus the last node/desktop
# alt + Tab
# bspc desktop -f last
#
# # expand a window by moving one of its side outward
# super + alt + {h,j,k,l}
# bspc node -z {left -10 0,bottom 0 10,top 0 -10,right 10 0}
#
# # contract a window by moving one of its side inward
# super + alt + shift + {h,j,k,l}
# bspc node -z {right -10 0,top 0 10,bottom 0 -10,left 10 0}
#
# # set the window state
# super + {t,shift + t,s,shift + f}
# bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
#
# # alternate between the tiled and monocle layout
# super + m
# bspc desktop -l next