summaryrefslogtreecommitdiff
path: root/swhkd/swhkdrc
blob: 2042b69f9bdb1ef43e4c53b2fe3af7f147226643 (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
#
# wm independent hotkeys
#

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

#
# dmenu interfaces
#

# program launcher
alt + d
        tofi_run

# desktop application launcher
alt + r
        tofi-drun --drun-launch true

# dmenu prompt for recording
alt + control + r
        tofirecord

# run dmenu interface for keepassxc
alt + p
        tofikeepass --height 24

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

# run dmenu interface for mpv
alt + v
        tofimpv

# run dmenu interface for ytfzf
alt + y
        ytfzf-launcher -D 'tofi --height 24'

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

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

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

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

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

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

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

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

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

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

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

#
# utilities
#

# toggle x idle state
alt + c
        swayidletog

# 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

# 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

#
# 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