diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-12-14 08:59:26 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-12-14 08:59:26 +0100 |
commit | 2c628011e1a4389948491e0ed8903e03bdf45c31 (patch) | |
tree | ce049e4cc22d7279b0013d8953df1af40ed05e93 /pkgs/dwm/dwm-autostart.diff | |
parent | fb94b8f1860ba09d892ce7a85e6b90ac103ab410 (diff) | |
download | dots-2c628011e1a4389948491e0ed8903e03bdf45c31.tar.gz dots-2c628011e1a4389948491e0ed8903e03bdf45c31.zip |
Add zsh config
Diffstat (limited to 'pkgs/dwm/dwm-autostart.diff')
-rw-r--r-- | pkgs/dwm/dwm-autostart.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/dwm/dwm-autostart.diff b/pkgs/dwm/dwm-autostart.diff new file mode 100644 index 0000000..1df1fa8 --- /dev/null +++ b/pkgs/dwm/dwm-autostart.diff @@ -0,0 +1,12 @@ +diff --git a/dwm.c b/dwm.c +index 127ab8a..44c85ed 100644 +--- a/dwm.c ++++ b/dwm.c +@@ -1773,6 +1773,7 @@ run(void) + void + runAutostart(void) { + system("killall -q dwmblocks; dwmblocks &"); ++ system("for app in `ls ~/.config/autostart/*.desktop`; do $(grep '^Exec' $app | sed 's/^Exec=//') &; done"); + } + + void |