Commit | Line | Data |
---|---|---|
daa71662 SK |
1 | # (Mod4 is Windows key) |
2 | ||
efe0d061 SK |
3 | "xbindkeys_show" |
4 | control+shift + q | |
5 | ||
f602582a SK |
6 | # ----------- |
7 | # Volume | |
8 | # ----------- | |
a22f429b | 9 | "pactl set-sink-volume @DEFAULT_SINK@ +5%" |
efe0d061 | 10 | XF86AudioRaiseVolume |
a22f429b | 11 | "pactl set-sink-volume @DEFAULT_SINK@ -5%" |
efe0d061 | 12 | XF86AudioLowerVolume |
a22f429b | 13 | "pactl set-sink-mute @DEFAULT_SINK@ toggle" |
efe0d061 SK |
14 | XF86AudioMute |
15 | ||
f602582a SK |
16 | # ---------- |
17 | # Backlight | |
18 | # ---------- | |
e56c459b | 19 | "sudo /home/siraaj/bin/backlight_adjust +5" |
efe0d061 | 20 | XF86MonBrightnessUp |
e56c459b | 21 | "sudo /home/siraaj/bin/backlight_adjust -5" |
efe0d061 SK |
22 | XF86MonBrightnessDown |
23 | ||
d263cae7 SK |
24 | # Workaround: XF86MonBrightness(Up|Down) keys stopped working on Librem 15v4 :( |
25 | "sudo /home/siraaj/bin/backlight_adjust +5" | |
26 | shift+XF86AudioRaiseVolume | |
27 | "sudo /home/siraaj/bin/backlight_adjust -5" | |
28 | shift+XF86AudioLowerVolume | |
29 | ||
f602582a SK |
30 | # ------------------- |
31 | # Screen saver/locker | |
32 | # ------------------- | |
bd5012ce | 33 | # mate-screensaver equivalent: "mate-screensaver-command --lock" |
efe0d061 SK |
34 | "xscreensaver-command -activate" |
35 | XF86ScreenSaver | |
36 | "xscreensaver-command -activate" | |
37 | control + alt + l | |
38 | #"lock" | |
39 | # XF86ScreenSaver | |
40 | #"lock" | |
41 | # control + alt + l | |
42 | ||
43 | # ---------- | |
44 | # MPD client | |
45 | # ---------- | |
46 | # If keyboard has media keys, use them: | |
47 | "mpc toggle" | |
48 | XF86AudioPlay | |
49 | "mpc stop" | |
50 | XF86AudioStop | |
51 | "mpc prev" | |
52 | XF86AudioPrev | |
53 | "mpc next" | |
54 | XF86AudioNext | |
55 | # Otherwise use combinations: | |
efe0d061 | 56 | "mpc toggle" |
f602582a | 57 | Mod4 + Down |
efe0d061 | 58 | "mpc stop" |
f602582a | 59 | Mod4 + Up |
efe0d061 | 60 | "mpc prev" |
f602582a | 61 | Mod4 + Left |
efe0d061 | 62 | "mpc next" |
f602582a | 63 | Mod4 + Right |
efe0d061 SK |
64 | |
65 | ## cmus-remote | |
66 | #"cmus-remote --stop" | |
67 | # XF86AudioStop | |
68 | #"cmus-remote --prev" | |
69 | # XF86AudioPrev | |
70 | #"cmus-remote --pause" | |
71 | # XF86AudioPlay | |
72 | #"cmus-remote --next" | |
73 | # XF86AudioNext | |
74 | ||
75 | ||
f602582a | 76 | # -------------------- |
efe0d061 | 77 | # Transparency adjust |
f602582a | 78 | # -------------------- |
efe0d061 SK |
79 | "compton-trans 40" |
80 | Mod4 + 4 | |
81 | "compton-trans 45" | |
82 | Mod4 + Shift + 4 | |
83 | "compton-trans 50" | |
84 | Mod4 + 5 | |
85 | "compton-trans 55" | |
86 | Mod4 + Shift + 5 | |
87 | "compton-trans 60" | |
88 | Mod4 + 6 | |
89 | "compton-trans 65" | |
90 | Mod4 + Shift + 6 | |
91 | "compton-trans 70" | |
92 | Mod4 + 7 | |
93 | "compton-trans 75" | |
94 | Mod4 + Shift + 7 | |
95 | "compton-trans 80" | |
96 | Mod4 + 8 | |
97 | "compton-trans 85" | |
98 | Mod4 + Shift + 8 | |
99 | "compton-trans 90" | |
100 | Mod4 + 9 | |
101 | "compton-trans 95" | |
102 | Mod4 + Shift + 9 | |
103 | "compton-trans 100" | |
104 | Mod4 + 0 | |
105 | ||
f602582a | 106 | # ------------------------ |
efe0d061 | 107 | # Screenshot |
f602582a | 108 | # ------------------------ |
efe0d061 SK |
109 | "screengrab -r" |
110 | ||
f1924383 | 111 | |
f602582a SK |
112 | # ---------------- |
113 | # App launchers | |
114 | # ---------------- | |
115 | ||
116 | "st -e htop" | |
117 | Mod4 + h | |
118 | "st -e ncmpcpp" | |
119 | Mod4 + n | |
120 | "st -e ranger" | |
121 | Mod4 + r | |
122 | ||
f1924383 SK |
123 | # Search mpd lib and play selection |
124 | "mpplay" | |
f602582a | 125 | Mod4 + p |
f7352c48 SK |
126 | |
127 | # Search video catalog and play selection | |
468b788e | 128 | "video-catalog-play" |
f602582a | 129 | Mod4 + v |
c10a8e75 | 130 | |
629ca20d SK |
131 | # Editor |
132 | "gvim" | |
133 | Mod4 + e | |
f602582a | 134 | # Edit specific files |
2447c42f | 135 | "gvim ~/TODO.md" # .md filetype is already set to activate spell check |
f67d34ae | 136 | Mod4 + t |
91115af5 | 137 | "gvim -c 'set spell' ~/Documents/Drafts.md" |
f67d34ae | 138 | Mod4 + d |
629ca20d SK |
139 | |
140 | # File browser | |
2c2eb795 | 141 | "caja" |
629ca20d SK |
142 | Mod4 + f |
143 | ||
144 | # Web browser | |
1add2013 | 145 | "brave-browser" |
629ca20d | 146 | Mod4 + w |