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 | # ---------- | |
41a64b8b | 19 | "sudo ~/bin/backlight_adjust +5" |
efe0d061 | 20 | XF86MonBrightnessUp |
41a64b8b | 21 | "sudo ~/bin/backlight_adjust +1" |
ca4b1dbc | 22 | shift + XF86MonBrightnessUp |
41a64b8b | 23 | "sudo ~/bin/backlight_adjust -5" |
efe0d061 | 24 | XF86MonBrightnessDown |
41a64b8b | 25 | "sudo ~/bin/backlight_adjust -1" |
ca4b1dbc | 26 | shift + XF86MonBrightnessDown |
efe0d061 | 27 | |
d263cae7 | 28 | # Workaround: XF86MonBrightness(Up|Down) keys stopped working on Librem 15v4 :( |
41a64b8b | 29 | "sudo ~/bin/backlight_adjust +5" |
d263cae7 | 30 | shift+XF86AudioRaiseVolume |
41a64b8b | 31 | "sudo ~/bin/backlight_adjust -5" |
d263cae7 SK |
32 | shift+XF86AudioLowerVolume |
33 | ||
f602582a SK |
34 | # ------------------- |
35 | # Screen saver/locker | |
36 | # ------------------- | |
bd5012ce | 37 | # mate-screensaver equivalent: "mate-screensaver-command --lock" |
efe0d061 SK |
38 | "xscreensaver-command -activate" |
39 | XF86ScreenSaver | |
40 | "xscreensaver-command -activate" | |
41 | control + alt + l | |
42 | #"lock" | |
43 | # XF86ScreenSaver | |
44 | #"lock" | |
45 | # control + alt + l | |
46 | ||
47 | # ---------- | |
48 | # MPD client | |
49 | # ---------- | |
50 | # If keyboard has media keys, use them: | |
51 | "mpc toggle" | |
52 | XF86AudioPlay | |
53 | "mpc stop" | |
54 | XF86AudioStop | |
dd7687b1 | 55 | "mpc prev && notify_mpc" |
efe0d061 | 56 | XF86AudioPrev |
dd7687b1 | 57 | "mpc next && notify_mpc" |
efe0d061 SK |
58 | XF86AudioNext |
59 | # Otherwise use combinations: | |
efe0d061 | 60 | "mpc toggle" |
f602582a | 61 | Mod4 + Down |
efe0d061 | 62 | "mpc stop" |
f602582a | 63 | Mod4 + Up |
dd7687b1 | 64 | "mpc prev && notify_mpc" |
f602582a | 65 | Mod4 + Left |
dd7687b1 | 66 | "mpc next && notify_mpc" |
f602582a | 67 | Mod4 + Right |
efe0d061 SK |
68 | |
69 | ## cmus-remote | |
70 | #"cmus-remote --stop" | |
71 | # XF86AudioStop | |
72 | #"cmus-remote --prev" | |
73 | # XF86AudioPrev | |
74 | #"cmus-remote --pause" | |
75 | # XF86AudioPlay | |
76 | #"cmus-remote --next" | |
77 | # XF86AudioNext | |
78 | ||
79 | ||
f602582a | 80 | # -------------------- |
efe0d061 | 81 | # Transparency adjust |
f602582a | 82 | # -------------------- |
823ac89c | 83 | "picom-trans 40" |
efe0d061 | 84 | Mod4 + 4 |
823ac89c | 85 | "picom-trans 45" |
efe0d061 | 86 | Mod4 + Shift + 4 |
823ac89c | 87 | "picom-trans 50" |
efe0d061 | 88 | Mod4 + 5 |
823ac89c | 89 | "picom-trans 55" |
efe0d061 | 90 | Mod4 + Shift + 5 |
823ac89c | 91 | "picom-trans 60" |
efe0d061 | 92 | Mod4 + 6 |
823ac89c | 93 | "picom-trans 65" |
efe0d061 | 94 | Mod4 + Shift + 6 |
823ac89c | 95 | "picom-trans 70" |
efe0d061 | 96 | Mod4 + 7 |
823ac89c | 97 | "picom-trans 75" |
efe0d061 | 98 | Mod4 + Shift + 7 |
823ac89c | 99 | "picom-trans 80" |
efe0d061 | 100 | Mod4 + 8 |
823ac89c | 101 | "picom-trans 85" |
efe0d061 | 102 | Mod4 + Shift + 8 |
823ac89c | 103 | "picom-trans 90" |
efe0d061 | 104 | Mod4 + 9 |
823ac89c | 105 | "picom-trans 95" |
efe0d061 | 106 | Mod4 + Shift + 9 |
823ac89c | 107 | "picom-trans 100" |
efe0d061 SK |
108 | Mod4 + 0 |
109 | ||
f602582a | 110 | # ------------------------ |
efe0d061 | 111 | # Screenshot |
f602582a | 112 | # ------------------------ |
5e42c64a | 113 | "scrot --select --freeze 'screen--%Y-%m-%d--%H-%M-%S.png' -e 'mv $f ~/arc/img/Screenshots/'" |
efe0d061 | 114 | |
f1924383 | 115 | |
8abcca1c SK |
116 | # Screencast |
117 | "st -c screencast -e ~/bin/screencast" | |
118 | Shift + Print | |
119 | ||
f602582a SK |
120 | # ---------------- |
121 | # App launchers | |
122 | # ---------------- | |
123 | ||
124 | "st -e htop" | |
125 | Mod4 + h | |
126 | "st -e ncmpcpp" | |
e5874f08 | 127 | Mod4 + m |
f602582a SK |
128 | "st -e ranger" |
129 | Mod4 + r | |
130 | ||
f1924383 SK |
131 | # Search mpd lib and play selection |
132 | "mpplay" | |
f602582a | 133 | Mod4 + p |
f7352c48 SK |
134 | |
135 | # Search video catalog and play selection | |
468b788e | 136 | "video-catalog-play" |
f602582a | 137 | Mod4 + v |
c10a8e75 | 138 | |
3dbae8db | 139 | # Editors |
2928bbd2 | 140 | "gvim" |
629ca20d | 141 | Mod4 + e |
3dbae8db SK |
142 | "emacs" |
143 | Mod4 + Shift + e | |
a5fef196 | 144 | |
e2b9f534 SK |
145 | |
146 | ### Edit specific files | |
147 | ||
3251b589 | 148 | "today.launch.sh" |
f67d34ae | 149 | Mod4 + t |
e2b9f534 | 150 | |
caee4c4a | 151 | "cd ~/doc/ideas && gvim ideas.md" |
ea1302a0 | 152 | Mod4 + i |
c2d03014 SK |
153 | #"cd ~/doc/drafts && drafts_prepend && gvim -c NERDTreeFind drafts.md" |
154 | "cd ~/doc/drafts && drafts_prepend && gvim drafts.md" | |
f67d34ae | 155 | Mod4 + d |
e11ef234 | 156 | "cd ~/doc/notes && notes_prepend && gvim -c NERDTreeFind notes.md" |
e5874f08 | 157 | Mod4 + n |
caee4c4a | 158 | "cd ~/doc/bookmarks && gvim bookmarks.md" |
14ec85bb | 159 | Mod4 + b |
caee4c4a | 160 | "cd ~/doc/quotations && gvim quotations.md" |
d556cb5a | 161 | Mod4 + q |
629ca20d | 162 | |
e2b9f534 | 163 | |
629ca20d | 164 | # File browser |
8b5026db | 165 | "pcmanfm" |
629ca20d SK |
166 | Mod4 + f |
167 | ||
37321ed1 SK |
168 | # Weather |
169 | "notify_weather" | |
629ca20d | 170 | Mod4 + w |
2b5a1d2d | 171 | "xdg-open 'https://forecast.weather.gov/MapClick.php?lat=42.9581&lon=-71.4856&unit=0&lg=english&FcstType=graphical&menu=1'" |
15cf9035 | 172 | Mod4 + Shift + w |
c0de2f9e SK |
173 | |
174 | # Calendar | |
175 | "notify_cal" | |
176 | Mod4 + c | |
90b88aef SK |
177 | |
178 | # Status | |
179 | "notify_status" | |
180 | Mod4 + s | |
d1ea2498 SK |
181 | |
182 | "notify_time-in-zones" | |
183 | Mod4 + z | |
88551c6e SK |
184 | |
185 | # MPD | |
186 | "notify_mpc" | |
187 | Mod4 + Shift + m | |
a1b94885 SK |
188 | |
189 | # dunst | |
190 | "dunstctl close" | |
191 | control + space | |
192 | "dunstctl close-all" | |
193 | control + shift + space | |
194 | "dunstctl history-pop" | |
195 | control + grave |