Label Notch uses the style of the iPhone X sensor cutout to display simple information on the mac desktop.
Great for displaying machine id's right on the desktop. By default the machines hostname
is displayed.
- Can be customized to any string to display deployed mac's custom identifiers.
- The content is centered and can be changed based on editable plist values.
Features | |
---|---|
🌑 | Automatically adjusts between dark/light system settings. |
💻 | Customizable via terminal command. |
🎩 | Runs as a background launch agent. |
🆓 | Open Source. Easy to extend for your own implementations. |
-
Copy the compiled
labelnotch
application to/usr/local/bin
sudo cp {the/build/path}/labelnotch /usr/local/bin/labelnotch
-
Create a Launch Agent for the user. This will start the application upon login.
mkdir -p ~/Library/LaunchAgents cp com.darwinist.labelnotch.plist ~/Library/LaunchAgents/com.darwinist.labelnotch.plist # Copy plist to user's Launch Agents
-
Launch for the first time
launchctl load -w ~/Library/LaunchAgents/com.darwinist.labelnotch.plist
-
Update the text:
defaults write com.darwinist.labelnotch title "MC00010349" launchctl unload ~/Library/LaunchAgents/com.darwinist.labelnotch.plist launchctl load -w ~/Library/LaunchAgents/com.darwinist.labelnotch.plist
The label text can be interfaced with via the defaults
command-line utility.
defaults write com.darwinist.labelnotch title "Machine MC00010349"
After changing the setting via defaults, re-spring the application:
launchctl unload ~/Library/LaunchAgents/com.darwinist.labelnotch.plist
launchctl load -w ~/Library/LaunchAgents/com.darwinist.labelnotch.plist
Desktop Machine Identifier is available under the MIT license. See the LICENSE file for more info.