From 0ff7557d640aa9a61b2bebc1546f126b17259fe9 Mon Sep 17 00:00:00 2001 From: ziro Date: Sat, 13 Nov 2021 20:05:14 +0700 Subject: [PATCH] + Bruh doesn't work --- .config/dwm/autostart.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.config/dwm/autostart.sh b/.config/dwm/autostart.sh index 1512ed9..1841dfd 100755 --- a/.config/dwm/autostart.sh +++ b/.config/dwm/autostart.sh @@ -5,5 +5,11 @@ picom & nitrogen --restore & $HOME/.scripts/launch-conky_dwm.sh & sxhkd -c $HOME/.config/sxhkd/dwm & -[ x$(pidof dwmblocks) = "x" ] && $(dwmblocks &; pkill -RTMIN+1 dwmblocks) || echo "dwmblocks is running, skipped." +if [ x$(pidof dwmblocks) = "x" ] +then + dwmblocks & + pkill -RTMIN+1 dwmblocks +else + echo 'dwmblocks is running, skipped.' +fi fcitx5 -d &