Introduction
Introduction Statistics Contact Development Disclaimer Help
index.md - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
index.md (1186B)
---
1 Cool autostart
2 ==============
3
4 Description
5 -----------
6 Allow dwm to execute commands from `autostart` array in your config.h fi…
7 And when you exit dwm all processes from `autostart` array will be kille…
8
9 Example
10 -------
11
12 static const char *const autostart[] = {
13 "mpd-notification", NULL,
14 "hsetroot", "-center", "/usr/home/bit6tream/pic/wallappe…
15 "xrdb", "/usr/home/bit6tream/.config/X/Xresources", NULL,
16 "sh", "-c", "while :; do dwmstatus.sh -; sleep 60; done"…
17 "dunst", NULL,
18 "picom", NULL,
19 NULL
20 };
21
22 Attention
23 ---------
24 Commands from array are executed using execvp().
25 So if you need to execute shell command you need to prefix it with
26 `"sh", "-c"` (change `sh` to any shell you like).
27
28 Download
29 --------
30 * [dwm-cool-autostart-6.2.diff](dwm-cool-autostart-6.2.diff)
31 * [dwm-cool-autostart-20240312-9f88553.diff](dwm-cool-autostart-20240312…
32 * [dwm-cool_autostart-6.5.diff](dwm-cool_autostart-6.5.diff)
33
34 Authors
35 -------
36 * bit6tream <[email protected]> [bit6tream's gitlab](https://gitlab.com/…
37 * zsugabubus <[email protected]>
38 * Son Phan Trung <[email protected]>
39 * Luis Dolorier <[email protected]>
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.