summaryrefslogtreecommitdiff
path: root/swhkd/swhkdrc
blob: 94e5bedc358b3dc0879dc0e6acc11aac0cea0894 (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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
#
# wm independent hotkeys
#

# reload sxhkd config
alt + Escape
        doas pkill -HUP -x swhkd

#
# dmenu interfaces
#

# program launcher
alt + d
        barmenu_run -h 24

# desktop application launcher
alt + r
        j4-dmenu-desktop --dmenu="barmenu -h 24 -l 15"

# dmenu prompt for recording
alt + control + r
        dmenurecord

# run dmenu interface for keepassxc
alt + p
        dmenu_keepass -h 24

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

# run dmenu interface for mpv
alt + v
        dmpv

# run dmenu interface for ytfzf
alt + y
        ytfzf-launcher -D 'barmenu -h 24 -l 15'

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

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

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

# run dmenu interface for librewolf profile chooser
alt + super + e
        fdc

# run dmenu interface to open book
alt + super + b
        dmenu_books

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

# run dmenu interface for monattach
alt + super + m
        monattach right

# run dmenu interface for mondetach
alt + super + n
        mondetach

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

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

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

#
# utilities
#

# toggle x idle state
alt + c
        xidletog

# toggle waybar
alt + w
        waytoggle

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

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

# restart dwmblocks
alt + super + 9
        toggle dwmblocks

# signal all dwmblocks modules
alt + super + 0
        sigdwmb all

# spawn file manager
alt + super + f
        $TERMINAL -e lfrun

# toggle touchpad
alt + super + t
        toggletouchpad

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

# mute volume
alt + super + m
        volsv -t

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

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

# xkill
alt + x
	xkill

#
# xf86 keys
#

# manipulate audio stream
XF86Audio{Prev,Next,Play,Stop}
	mpc {prev,next,toggle,stop}

# turn the brightness up
XF86MonBrightnessUp
	xbacklight -inc 1
        # light -A 1

# turn the brightness down
XF86MonBrightnessDown
        xbacklight -dec 1
        # light -U 1

# raise the volume
XF86AudioRaiseVolume
	volsv -i

# lower the volume
XF86AudioLowerVolume
	volsv -d

# toggle mute
XF86AudioMute
	volsv -t

# mute mic
XF86AudioMicMute
	volsv -m