dotfiles/dot_config/conky/executable_start.sh

13 lines
280 B
Bash
Raw Normal View History

2024-01-15 01:49:06 +09:00
#!/bin/bash
pkill conky
widgetsdir="$XDG_CONFIG_HOME/conky/widgets"
if [ -d "$widgetsdir" ]; then
for widget in $widgetsdir/*; do
filename=$(echo $widget | sed "s;$widgetsdir/;;")
[[ $filename =~ ^_.* ]] && continue
conky -q -c "$widget"
done
fi