Firestarter: Roll Conky and Conky-clock together

This commit is contained in:
Salt 2020-08-08 01:57:16 -05:00
parent cc3e4ad322
commit 03481baa9a
2 changed files with 2 additions and 7 deletions

View File

@ -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"

View File

@ -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