From 03481baa9a487fa7fb79399344287131368d6601 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 8 Aug 2020 01:57:16 -0500 Subject: [PATCH] Firestarter: Roll Conky and Conky-clock together --- .config/firestarter/clock | 7 ------- .config/firestarter/conky | 2 ++ 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 .config/firestarter/clock diff --git a/.config/firestarter/clock b/.config/firestarter/clock deleted file mode 100644 index 8b9a3ab6..00000000 --- a/.config/firestarter/clock +++ /dev/null @@ -1,7 +0,0 @@ -#.fsdefaults -[ -z "$DISPLAY" ] -: -# 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 -command -v conky && [ -r "${XDG_CONFIG_HOME:-/home/salt/.config}/conky/conky-clock.conf" ] -sleep 5 && conky -c "${XDG_CONFIG_HOME:-/home/salt/.config}/conky/conky-clock.conf" diff --git a/.config/firestarter/conky b/.config/firestarter/conky index 3e5a7551..d431ff91 100755 --- a/.config/firestarter/conky +++ b/.config/firestarter/conky @@ -3,5 +3,7 @@ : # 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 +command -v conky && [ -r "${XDG_CONFIG_HOME:-/home/salt/.config}/conky/conky-clock.conf" ] && [[ "$HOSTNAME" == "lap"* ]] +sleep 5 && conky -c "${XDG_CONFIG_HOME:-/home/salt/.config}/conky/conky-clock.conf" command -v conky && [ -r "${XDG_CONFIG_HOME:-/home/salt/.config}/conky/conky.conf" ] sleep 5 && conky