This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| ## save as /usr/local/bin/blt and run `chmod +x /usr/local/bin/blt` | |
| docker run --platform=linux/amd64 --rm --interactive --tty \ | |
| -v "$PWD":/app -w /app \ | |
| cbcms/blt $@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Wallpaper Crop Script - Automatic creation of wallpapers for vertical layout with aligned centers | |
| # Usage: ./wallpaper-crop.sh <source_image> [--inches external_inches builtin_inches] [--position position] | |
| # Example: ./wallpaper-crop.sh wallpaper.jpg | |
| # Example: ./wallpaper-crop.sh wallpaper.jpg --inches 27 16 | |
| # Example: ./wallpaper-crop.sh wallpaper.jpg --inches 27 16 --position center-top | |
| # Function displays help | |
| function show_help() { |
OlderNewer