From 5d3c8e21d2d79a6ed3e324b833002a9bb0317b34 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Tue, 29 Sep 2020 22:12:48 +0200 Subject: Linux config --- platforms/linux/xorg/dwm-autostart.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 platforms/linux/xorg/dwm-autostart.diff (limited to 'platforms/linux/xorg/dwm-autostart.diff') diff --git a/platforms/linux/xorg/dwm-autostart.diff b/platforms/linux/xorg/dwm-autostart.diff new file mode 100644 index 0000000..1df1fa8 --- /dev/null +++ b/platforms/linux/xorg/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 -- cgit 1.4.1