Firestarter: Don't start Conky in light mode

This commit is contained in:
Salt 2020-09-23 02:36:42 -05:00
parent d63ac02c19
commit bd178870e3

View File

@ -3,6 +3,8 @@
:
# 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
[ "$THEME" == "light" ]
:
command -v conky && [ -r "${XDG_CONFIG_HOME:-$HOME/.config}/conky/conky-clock.conf" ] && [[ "$HOSTNAME" == "lap"* ]]
sleep 3 && conky -c "${XDG_CONFIG_HOME:-$HOME/.config}/conky/conky-clock.conf"
command -v conky && [ -r "${XDG_CONFIG_HOME:-$HOME/.config}/conky/conky.conf" ]