-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xbindkeysrc
53 lines (37 loc) · 1.41 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
"echo cycle pause > ~/rawdisk/music-control"
Mod4 + space
"echo playlist-next > ~/rawdisk/music-control"
Mod4 + Right
"echo playlist-next > ~/rawdisk/music-control"
Mod4 + n
"echo playlist-prev > ~/rawdisk/music-control"
Mod4 + Left
"echo seek 5 > ~/rawdisk/music-control"
Mod4 + Up
"echo seek -5 > ~/rawdisk/music-control"
Mod4 + Down
"echo cycle loop-file > ~/rawdisk/music-control"
Mod4 + l
"readlink /proc/"$(ps h -o pid,command -C mpv | grep music-control | (read pid o && echo $pid))"/fd/* | grep ~/Music >> ~/track_passed.txt ; echo playlist_next > ~/rawdisk/music-control"
Mod4 + u
"xcalib -a -i"
Mod4 + i
"amixer set Master 3+"
XF86AudioRaiseVolume
"amixer set Master 3-"
Control + F11
"amixer set Master 3+"
Control + F12
"amixer set Master 3-"
XF86AudioLowerVolume
"pid=$(xdotool getactivewindow getwindowpid %@) && (read x x s x < /proc/"$pid"/stat ; [ "$s" = 'T' ] && kill -CONT $pid || kill -STOP $pid)"
Mod4 + s
"xmodmap ~/projects/dotfiles/xmodmap/qwerty-shift-number-key$([ -f ~/rawdisk/.num-k ] && { rm ~/rawdisk/.num-k && echo 1 ; } || { :>~/rawdisk/.num-k && echo 0 ; })"
Num_Lock
"xmodmap ~/projects/dotfiles/xmodmap/qwerty-shift-number-key$([ -f ~/rawdisk/.num-k ] && { rm ~/rawdisk/.num-k && echo 1 ; } || { :>~/rawdisk/.num-k && echo 0 ; })"
Control + F10
#"xvkbd -xsendevent -text '\[Prior]'"
# b:8
#
#"xvkbd -xsendevent -text '\[Next]'"
# b:9