about summary refs log tree commit diff
path: root/platforms/linux/xorg/dwm-autostart.diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-09-29 22:12:48 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-09-29 22:12:48 +0200
commit5d3c8e21d2d79a6ed3e324b833002a9bb0317b34 (patch)
tree08e26e0a885d575c8399fb65bbef3ddc2ad233db /platforms/linux/xorg/dwm-autostart.diff
parenta24f50c8a264fd0e42c789f4cf16a8796ab97e47 (diff)
downloaddots-5d3c8e21d2d79a6ed3e324b833002a9bb0317b34.tar.gz
dots-5d3c8e21d2d79a6ed3e324b833002a9bb0317b34.zip
Linux config
Diffstat (limited to 'platforms/linux/xorg/dwm-autostart.diff')
-rw-r--r--platforms/linux/xorg/dwm-autostart.diff12
1 files changed, 12 insertions, 0 deletions
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