index.md (740B)
1 launcher 2 ======== 3 4 Description 5 ----------- 6 The bar at the top will have buttons that you can click to launch programs and commands. 7 8 Usage: 9 ------ 10 In config.h make a command: 11 12 13 /* launcher command (Must be NULL terminated) */ 14 static const char* surf[] = { "surf", "duckduckgo.com", NULL }; 15 16 17 Then add it to the launchers array: 18 19 20 static const Launcher launchers[] = { 21 /* command name to display */ 22 { surf, "surf" }, 23 }; 24 25 26 The result will be a little button that says "surf" at the top bar. When you click it, it launches surf. Have fun :D 27 28 Download 29 -------- 30 * [dwm-launchers-20200527-f09418b.diff](dwm-launchers-20200527-f09418b.diff) 31 32 Author 33 ------ 34 * [Adham Zahran](mailto:adhamzahranfms@gmail.com) 35