Conky: Rework setup into two modules

This commit is contained in:
2020-07-08 02:11:59 -05:00
parent 4bad9eb2bc
commit a11fdb60ce
3 changed files with 59 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
#.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"