diff options
| author | Luke Smith <[email protected]> | 2020-04-09 16:53:54 -0400 |
|---|---|---|
| committer | Luke Smith <[email protected]> | 2020-04-09 16:53:54 -0400 |
| commit | 6cb092d8f2278697982935d6883c8c45f4aa8dbe (patch) | |
| tree | 6b18d35f91cf4a9085523186d6d1a096e63bcf0a | |
| parent | mod+c for calculator (diff) | |
| download | seiwm-6cb092d8f2278697982935d6883c8c45f4aa8dbe.tar.xz seiwm-6cb092d8f2278697982935d6883c8c45f4aa8dbe.zip | |
start `startup` script if it exists
| -rw-r--r-- | dwm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1522,7 +1522,8 @@ run(void) void runAutostart(void) { - system("export STATUSBAR=\"dwmblocks\" ; killall dwmblocks ; dwmblocks &"); + system("type startup >/dev/null 2>&1 && startup &"); + system("killall dwmblocks ; dwmblocks &"); } void |