From cfac99fcc64f609803e838dcc53ca9bb5d3ceb73 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 11 Nov 2016 10:49:22 +0100 Subject: [PATCH] start: kill nm-applet on start It's not unusual for it to become out-of-sync. Dunno if it is because of configuration change or anything else, but an easy solution is to restart it often. --- rc/start.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rc/start.lua b/rc/start.lua index 18ae036..8a2897d 100644 --- a/rc/start.lua +++ b/rc/start.lua @@ -3,6 +3,8 @@ awful.util.spawn("compton --backend glx --xrender-sync --xrender-sync-fence --vs -- Start idempotent commands local execute = { + -- Kill any running nm-applet + "pkill nm-applet", -- Start PulseAudio "pulseaudio --check || pulseaudio -D", "xset -b", -- Disable bell