chore(scripts): extract oh-my-posh screenshotter

This commit is contained in:
2024-06-25 01:24:44 +03:00
parent df5cab6a88
commit c754746b9f
3 changed files with 14 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
#
# shellcheck source=shared.sh
source "$HOME/.dotfiles/scripts/shared.sh"
set -e
cd "$DOTFILES" || exit
oh-my-posh config export image \
--config "$OHMYPOSH_CFG" \
--output "$HOME/.dotfiles/.github/screenshots/oh-my-posh.png" \
--author "Ismo Vuorinen"