summaryrefslogtreecommitdiff
path: root/sxhkd/sxhkdrc
blob: 1c10dfe2a816b8db911defcc8fee2c8c852daaf6 (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
#
# wm independent hotkeys
#

# reload sxhkd config
super + Escape
        pkill -USR1 -x sxhkd

#
# dmenu interfaces
#

# program launcher
super + d
        dmenu_run -i -l 15 -h 36 -fn 'mononoki Nerd Font Mono' -nb '#000' -nf '#c5c8c6' -sb '#198844' -sf '#000'

# desktop application launcher
super + r
        j4-dmenu-desktop --dmenu="dmenu -i -l 15 -h 36 -fn 'mononoki Nerd Font Mono' -nb '#000' -nf '#c5c8c6' -sb '#198844' -sf '#000'"

# dmenu prompt for recording
super + control + r
        dmenurecord

# run dmenu interface for pass
super + alt + p
        passmenu

# run dmenu interface for ytfzf
super + y
        ytfzf-launcher -D 'dmenu -l 15'

# run dmenu interface to spawn browsers
super + alt + 1
        bm

# run dmenu interface for qutebrowser profile chooser
super + alt + q
        qbc
	#qbpm choose

# run dmenu interface for librewolf profile chooser
super + alt + w
        lwc

# run dmenu interface for mpris
super + alt + u
        mprisctl

# run dmenu interface for mount
super + alt + comma
        dmount

# run dmenu interface for umount
super + alt + period
        dmenuumount

#run dmenu prompt for unicode chars
super + alt + u
        dmenuunicode

#
# utilities
#

# get xprop
super + grave
        notifyprop

# warp cursor to left or right monitor
super + {Left,Right}
        mwarp.py {left,right}

# lock the screen
super + q
	loginctl lock-session self

# spawn file manager
super + alt + f
        kitty lfrun

# toggle touchpad
super + alt + t
        toggletouchpad

# notify-send firewall rules
super + alt + f
        notify-iptables

# mute volume
super + alt + m
        volsv -t

# mute microphone
super + alt + shift + m
        volsv -m

# load nsxiv for backgrounds
super + alt + x
        nsxiv ~/.local/src/wallpapers

# xkill
super + x
	xkill

# pause mpd
alt + p
        playerctl play-pause

#
# xf86 keys
#

# manipulate audio stream
XF86Audio{Prev,Next,Play,Stop}
	playerctl {previous,next,play-pause,stop}

# turn the brightness up
XF86MonBrightnessUp
        bl -i 1

# turn the brightness down
XF86MonBrightnessDown
        bl -d 1

# raise the volume
XF86AudioRaiseVolume
	volsv -i

# lower the volume
XF86AudioLowerVolume
	volsv -d

# toggle mute
XF86AudioMute
	volsv -t

# mute mic
XF86AudioMicMute
	volsv -m