-
Notifications
You must be signed in to change notification settings - Fork 3
/
xbindkeysrc
79 lines (69 loc) · 1.7 KB
/
xbindkeysrc
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
# Audio controls.
"pactl set-sink-volume @DEFAULT_SINK@ +5%"
XF86AudioRaiseVolume
"pactl set-sink-volume @DEFAULT_SINK@ -5%"
XF86AudioLowerVolume
"pactl set-sink-mute @DEFAULT_SINK@ toggle"
XF86AudioMute
"pactl set-source-mute @DEFAULT_SOURCE@ toggle"
XF86AudioMicMute
# Screen brightness controls.
"xbacklight -ctrl intel_backlight -inc 10"
XF86MonBrightnessUp
"xbacklight -ctrl intel_backlight -dec 10"
XF86MonBrightnessDown
# Media controls.
"playerctl previous"
Mod4+Shift + minus
"playerctl next"
Mod4+Shift + equal
"playerctl play-pause"
Mod4+Shift + BackSpace
# Take screenshots.
"take-screenshot --mode=full"
Print
"take-screenshot --mode=full-clipboard"
Shift+Print
"take-screenshot --mode=selection"
Mod4+Print
"take-screenshot --mode=selection-clipboard"
Mod4+Shift + Print
# Application launcher.
"dbus-launch dmenu-desktop"
Mod4+Shift + p
# Emoji selector.
"emoji-selector"
Mod4 + e
# Open a browser.
"xdg-open 'http://'"
Mod4+Shift + b
# Open a file manager.
"pcmanfm $HOME"
Mod4+Shift + n
# Re-set input devices.
"set-input-devices"
Mod4+Shift + r
# Lock the screen.
"slock"
Mod4+Escape
# Mouse movement.
"xdotool mousemove_relative --sync -- 0 -10"
Mod1 + k
"xdotool mousemove_relative --sync -- 0 -30"
Mod1+Shift + k
"xdotool mousemove_relative --sync -- 0 10"
Mod1 + j
"xdotool mousemove_relative --sync -- 0 30"
Mod1+Shift + j
"xdotool mousemove_relative --sync -- -10 0"
Mod1 + h
"xdotool mousemove_relative --sync -- -30 0"
Mod1+Shift + h
"xdotool mousemove_relative --sync -- 10 0"
Mod1 + l
"xdotool mousemove_relative --sync -- 30 0"
Mod1+Shift + l
"sleep 0.1 && xdotool click 1"
Mod1 + n
"sleep 0.1 && xdotool click 3"
Mod1 + m