-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xbindkeysrc
106 lines (85 loc) · 1.91 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
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
###########################
# xbindkeys configuration #
###########################
#
# Version: 0.1.3
#
# If you edit this, do not forget to uncomment any lines that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier (on my keyboard):
# Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# Another way to specifie a key is to use 'xev' and set the
# keycode with c:nnn or the modifier with m:nnn where nnn is
# the keycode or the state returned by xev
#
# This file is created by xbindkey_config
# The structure is :
# # Remark
# "command"
# m:xxx + c:xxx
# Shift+...
#keystate_numlock = enable
#keystate_scrolllock = enable
#keystate_capslock = enable
#Toggle
"playerctl play-pause"
m:0x10 + c:172
Mod2 + XF86AudioPlay
#Stop
"playerctl stop"
m:0x10 + c:174
Mod2 + XF86AudioStop
#Previous
"playerctl previous"
m:0x10 + c:173
Mod2 + XF86AudioPrev
#Next
"playerctl next"
m:0x10 + c:171
Mod2 + XF86AudioNext
#Volume UP
"amixer set Master 1%+"
m:0x10 + c:123
Mod2 + XF86AudioRaiseVolume
#VolumeDOWN
"amixer set Master 1%-"
m:0x10 + c:122
Mod2 + XF86AudioLowerVolume
#Mute
"amixer set Master toggle"
m:0x10 + c:121
Mod2 + XF86AudioMute
#Suspend
"systemctl suspend"
m:0x40 + c:78
Mod4 + Scroll_Lock
#Shutdown
"shutdown "now""
m:0x41 + c:78
Shift+Mod4 + Scroll_Lock
#Toggle Audio
"toggle_audio"
m:0x40 + c:96
Mod4 + F12
#Calculatrice
"speedcrunch"
Mod4 + F10
#rofimoji
"rofimoji"
Mod4+F9
#Flameshot
"flameshot gui"
Shift+Mod4+S
#Remark
"xrandr --output HDMI-0 --mode 1920x1080 & sleep 5 & xrandr --output HDMI-0 --mode 3840x2160 & sleep 5 & extramonitor extra"
m:0x51 + c:40
Shift+Mod2+Mod4 + d
#
# End of xbindkeys configuration