nix/nix/modules/home-manager/scripts/common/bin/good-morning
Daniel Flanagan 64412f7af8
Some checks failed
/ check (push) Failing after 4s
Prep for overmodularization
2025-02-14 10:22:56 -06:00

21 lines
559 B
Fish
Executable file

#!/usr/bin/env fish
# create a messages file for subscripts to write to or manipulate for ending
# output
set message_file (mktemp)
for f in (fd good-morning.d.fish $HOME/.config/lytedev-env --max-depth 2)
# run scripts for any linked environments with a hooked script
source $f $message_file
end
# output the messages file's contents
echo
command cat $message_file
echo
# since this script almost always runs in its own window which dies after
# finishing, give the user a chance to read the output
echo "When you're ready, hit enter to finish!"
read