https://github.com/jim/warning-macos
A command-line macOS program to show a customizable screen border
https://github.com/jim/warning-macos
Last synced: over 1 year ago
JSON representation
A command-line macOS program to show a customizable screen border
- Host: GitHub
- URL: https://github.com/jim/warning-macos
- Owner: jim
- License: mit
- Created: 2019-12-07T04:57:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-07T05:12:16.000Z (over 6 years ago)
- Last Synced: 2025-01-29T17:24:54.231Z (over 1 year ago)
- Language: Swift
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# warning
warning is a command-line macOS program to show a customizable border around the screen.
It is intended to be used by other scripts to visually grab the user's attention.
## Configuring the border
The border is drawn in red with a width of 10 pixels by default. To change this, send commands to the app
using the UNIX domain socket `/tmp/warning`:
```
$ echo "width 100" | nc -U /tmp/warning # set the border width to 100 pixels
$ echo "color 0000ff99" | nc -U /tmp/warning # set the border color to a semi-transparent blue
```