Created
February 20, 2026 23:02
-
-
Save smashism/0321760a6950758dcdce96d44239b07a to your computer and use it in GitHub Desktop.
basic custom actions for the self service+ menubar utility (née jamf connect)
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Actions</key> | |
| <array> | |
| <dict> | |
| <key>Name</key> | |
| <string>Hostname</string> | |
| <key>ToolTip</key> | |
| <string>Hostname</string> | |
| <key>Title</key> | |
| <dict> | |
| <key>Command</key> | |
| <string>path</string> | |
| <key>CommandOptions</key> | |
| <string>/bin/hostname</string> | |
| </dict> | |
| </dict> | |
| <dict> | |
| <key>Name</key> | |
| <string>Hostname</string> | |
| <key>ToolTip</key> | |
| <string>Chip</string> | |
| <key>Title</key> | |
| <dict> | |
| <key>Command</key> | |
| <string>path</string> | |
| <key>CommandOptions</key> | |
| <string>system_profiler SPHardwareDataType | grep "Chip" | awk -F': ' '{print $2}'</string> | |
| </dict> | |
| </dict> | |
| <dict> | |
| <key>Name</key> | |
| <string>Operating System Version</string> | |
| <key>ToolTip</key> | |
| <string>macOS version</string> | |
| <key>Title</key> | |
| <dict> | |
| <key>Command</key> | |
| <string>path</string> | |
| <key>CommandOptions</key> | |
| <string>system_profiler SPSoftwareDataType | grep "System Version" | awk -F': ' '{print $2}'</string> | |
| </dict> | |
| </dict> | |
| <dict> | |
| <key>Name</key> | |
| <string>en0</string> | |
| <key>ToolTip</key> | |
| <string>Primary IP Address</string> | |
| <key>Title</key> | |
| <dict> | |
| <key>Command</key> | |
| <string>path</string> | |
| <key>CommandOptions</key> | |
| <string>/usr/sbin/ipconfig getifaddr en0</string> | |
| </dict> | |
| </dict> | |
| </array> | |
| </dict> | |
| </plist> |
Author
smashism
commented
Feb 20, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment