added shebangs to util scripts
This commit is contained in:
parent
5c6ba278ef
commit
66b2002f9d
3
utils/crop_image_to_bbox.py
Normal file → Executable file
3
utils/crop_image_to_bbox.py
Normal file → Executable file
@ -1,3 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf8 -*-
|
||||
|
||||
from PIL import Image
|
||||
import sys
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# -*- coding: utf8 -*-
|
||||
|
||||
# Source: https://gessel.blackrosetech.com/2020/12/21/favicon-generation-script
|
||||
|
||||
@ -28,8 +29,7 @@ inkscape -o "$out/favicon-310x150.png" -w 310 -h 150 $svg
|
||||
echo Compressing...
|
||||
for f in $out/*.png; do pngquant -f --ext .png "$f" --posterize 4 --speed 1 ; done;
|
||||
|
||||
echo Creating favicon
|
||||
|
||||
echo Creating favicon...
|
||||
convert $out/favicon-512.png -define icon:auto-resize=48,32,16 $out/favicon.ico
|
||||
|
||||
echo Done
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf8 -*-
|
||||
|
||||
import configparser
|
||||
import caldav
|
||||
import vobject
|
||||
|
||||
Loading…
Reference in New Issue
Block a user