@@ -60,6 +60,7 @@ install_dotfiles() {
'Xmodmap'
'Xresources'
'xbindkeysrc'
+ 'conkyinit'
'config/conky'
'config/openbox'
'config/tint2'
@@ -44,7 +44,7 @@ end
-- }}}
awful.util.spawn('compton')
-awful.util.spawn_with_shell('killall conky 2>/dev/null 1>&2; conky -c ' .. os.getenv('HOME') .. '/.config/conky/conkyrc')
+awful.util.spawn_with_shell(os.getenv('HOME') .. '/.conkyinit --restart >/dev/null 2>&1')
awful.util.spawn('pidgin')
-- {{{ Variable definitions
@@ -2,4 +2,4 @@ $HOME/.fehbg &
tint2 &
(sleep 2 && pidgin) &
(sleep 2 && compton_openbox --toggle) &
-(sleep 2 && conky -c $HOME/.config/conky/conkyrc) &
+(sleep 2 && $HOME/.conkyinit) &
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ "$1" = "--restart" ]; then
+ killall conky
+fi
+conky -d -c $HOME/.config/conky/conkyrc