From bb70e9f23548f2d42a357d2a8761d215a779d6d8 Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Thu, 14 Jul 2022 15:34:21 -0500 Subject: [PATCH] Kill conky before starting it on autostart to prevent multiple conkys spawning. --- .config/awesome/README.org | 2 +- .config/awesome/rc.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/awesome/README.org b/.config/awesome/README.org index 088cd88..cbb107c 100644 --- a/.config/awesome/README.org +++ b/.config/awesome/README.org @@ -907,7 +907,7 @@ awful.spawn.with_shell("lxsession") awful.spawn.with_shell("picom") awful.spawn.with_shell("nm-applet") awful.spawn.with_shell("volumeicon") -awful.spawn.with_shell("sleep 2 && conky -c $HOME/.config/conky/awesome/" .. "doom-one" .. "-01.conkyrc") +awful.spawn.with_shell("killall conky && conky -c $HOME/.config/conky/awesome/" .. "doom-one" .. "-01.conkyrc") awful.spawn.with_shell("/usr/bin/emacs --daemon") #+END_SRC diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 1c0f49a..7d3e8de 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -774,7 +774,7 @@ awful.spawn.with_shell("lxsession") awful.spawn.with_shell("picom") awful.spawn.with_shell("nm-applet") awful.spawn.with_shell("volumeicon") -awful.spawn.with_shell("sleep 2 && conky -c $HOME/.config/conky/awesome/" .. "doom-one" .. "-01.conkyrc") +awful.spawn.with_shell("killall conky && conky -c $HOME/.config/conky/awesome/" .. "doom-one" .. "-01.conkyrc") awful.spawn.with_shell("/usr/bin/emacs --daemon") awful.spawn.with_shell("xargs xwallpaper --stretch < ~/.cache/wall")