-
Notifications
You must be signed in to change notification settings - Fork 0
/
_xbindkeysrc
84 lines (71 loc) · 1.61 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
# Sound
# メモ: Shiftなしは効いていないかも
"pactl set-sink-volume 0 +5%"
Shift+XF86AudioRaiseVolume
"pactl set-sink-volume 0 -5%"
Shift+XF86AudioLowerVolume
"pactl set-sink-mute 0 toggle"
Shift+XF86AudioMute
"pactl set-sink-volume @DEFAULT_SINK@ +5%"
XF86AudioRaiseVolume
"pactl set-sink-volume @DEFAULT_SINK@ -5%"
XF86AudioLowerVolume
"pactl set-sink-mute @DEFAULT_SINK@ toggle"
XF86AudioMute
# Brightness
"light -A 5"
XF86MonBrightnessUp
"light -U 5"
XF86MonBrightnessDown
"light -A 1"
Shift+XF86MonBrightnessUp
"light -U 1"
Shift+XF86MonBrightnessDown
# Display
"~/src/github.com/ka2n/dotfiles/bin-linux/switch-display-thinkpad.rb"
XF86Display
# WLAN
"~/bin/nmcli-toggle-wwan.py"
c:246
## MX Ergo
# NOTE: トラックパッドとかぶる
### : wheel forward
#"xte 'key Down' 'key Down' 'key Down'"
# b:5
#
### : wheel backward
#"xte 'key Up' 'key Up' 'key Up'"
# b:4
## : wheel press
#"xte 'key'"
# b:2
## : wheel right
#"sleep 0.2 && xte 'keydown Control_L' 'keydown Tab'"
# b:6
#"xte 'keyup Tab' 'keyup Control_L'"
# b:6 + release
## : wheel left
#"sleep 0.2 && xte 'keydown Control_L' 'keydown Shift_L' 'keydown Tab'"
# b:7
#"xte 'keyup Tab' 'keyup Shift_L' 'keyup Control_L'"
# b:7 + release
## : side top button
"xte 'keydown Page_Up'"
b:9
"xte 'keyup Page_Up'"
b:9 + release
## : side bottom button
"xte 'keydown Page_Down'"
b:8
"xte 'keyup Page_Down'"
b:8 + release
## : side top button + Shift
"xte 'keydown Page_Up'"
b:9 + Shift
"xte 'keyup Page_Up'"
b:9 + Shift + release
## : side bottom button + Shift
"xte 'keydown Page_Down'"
b:8 + Shift
"xte 'keyup Page_Down'"
b:8 + Shift + release