Skip to content

Instantly share code, notes, and snippets.

View Swiss-Mac-User's full-sized avatar
✍️
Blogging

Swiss Mac User  Swiss-Mac-User

✍️
Blogging
View GitHub Profile
@Swiss-Mac-User
Swiss-Mac-User / icon_maker.sh
Last active January 13, 2025 13:31
macOS shell script to create an .icns icon file from an image input file
#!/bin/zsh
# ================================================================================
# A macOS shell script to create an .icns icon file from an image input file
#
# NOTE: make this file executable first using:
# chmod +x /path/to/icon_maker.sh
#
# --------------------------------------------------------------------------------
# Source: https://gist.github.com/Swiss-Mac-User/7a1a55e499db618c59718cbffe23318c
@Swiss-Mac-User
Swiss-Mac-User / command-oneliner-a.sh
Created August 20, 2025 21:37
Shell scripts to trigger custom macOS Notifications using osascript | https://swissmacuser.ch/native-macos-notifications-from-terminal-scripts/
osascript -e "display notification \"This notification comes straight from Terminal.app to your macOS Notification Center, thanks to AppleScript 🤓\""