From 3b2a78935fd6550521f719a10e5b0fceb1ddb350 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Wed, 15 Feb 2023 16:31:56 +0100 Subject: Not really but, First commit! --- config/X/xmonad/xmonad.disabled/autostart/autostart.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 config/X/xmonad/xmonad.disabled/autostart/autostart.sh (limited to 'config/X/xmonad/xmonad.disabled/autostart/autostart.sh') diff --git a/config/X/xmonad/xmonad.disabled/autostart/autostart.sh b/config/X/xmonad/xmonad.disabled/autostart/autostart.sh new file mode 100755 index 0000000..c9d75ae --- /dev/null +++ b/config/X/xmonad/xmonad.disabled/autostart/autostart.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +cd $HOME/.config/xmonad/autostart/ +for script in *.sh +do + if [ "./$script" != "$0" ] && [ -z "$(ps aux | grep "$script" | head -n -1)" ] + then + echo "started $script" + setsid ./$script & + fi +done -- cgit v1.2.3