index.md - sites - public wiki contents of suckless.org | |
git clone git://git.suckless.org/sites | |
Log | |
Files | |
Refs | |
--- | |
index.md (672B) | |
--- | |
1 Play External | |
2 ============= | |
3 | |
4 Description | |
5 ----------- | |
6 | |
7 This patch makes use of the following existing macro to pipe the current… | |
8 | |
9 /* VIDEOPLAY(URI) */ | |
10 #define VIDEOPLAY(u) {\ | |
11 .v = (const char *[]){ "/bin/sh", "-c", \ | |
12 "mpv --really-quiet \"$0\"", u, NULL \ | |
13 } \ | |
14 } | |
15 | |
16 To customize the hotkey just change the following line in your config.h.… | |
17 { MODKEY, GDK_KEY_w, playexternal, { 0 } }, | |
18 | |
19 | |
20 Download | |
21 -------- | |
22 | |
23 * [surf-playexternal-20190724-b814567.diff](surf-playexternal-20190724-b… | |
24 | |
25 Author | |
26 ------ | |
27 | |
28 * Daniel Nakhimovich <[email protected]> |