Add an ugly hack for Conky

This commit is contained in:
Salt 2019-06-21 18:35:25 -05:00
parent 3739e7b033
commit 488ff83b41

View File

@ -164,11 +164,13 @@ command -v gnome-settings-daemon
gnome-settings-daemon gnome-settings-daemon
EOF EOF
# System statistics glances # System statistics glances
# Note: the dumb sleep hack is because Conky crashes with window_type override if the WM hasn't loaded yet
# This gives the Wm ample time to load up
cat << EOF > "$_configdir/stat-glances" cat << EOF > "$_configdir/stat-glances"
[ -z "\$DISPLAY" ] [ -z "\$DISPLAY" ]
: :
command -v conky && [ -r "\${XDG_CONFIG_HOME:-$HOME/.config}/conky/conky.conf" ] command -v conky && [ -r "\${XDG_CONFIG_HOME:-$HOME/.config}/conky/conky.conf" ]
conky sleep 5 && conky
EOF EOF
# Wallpaper setters # Wallpaper setters
cat << EOF > "$_configdir/wallpaper" cat << EOF > "$_configdir/wallpaper"