mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-09 22:51:25 +00:00
chore(scripts): extract oh-my-posh screenshotter
This commit is contained in:
11
scripts/create-omp-screenshot.sh
Executable file
11
scripts/create-omp-screenshot.sh
Executable 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"
|
||||
Reference in New Issue
Block a user