Files
caelestia-cli/main.fish
T
2 * r + 2 * t 7205226e5f Initial commit
2025-01-17 16:18:16 +11:00

19 lines
382 B
Fish
Executable File

#!/bin/fish
cd (dirname (status filename)) || exit
. ./util.fish
if test "$argv[1]" = change-wallpaper
./change-wallpaper.fish $argv[2..]
end
test "$argv[1]" != help && error "Unknown command: $argv[1]"
echo 'Usage: caelestia COMMAND'
echo
echo 'COMMAND := help | change-wallpaper'
echo
echo ' help: show this help message'
echo ' change-wallpaper: change the wallpaper'