Add system-info macOS user agent

The `system-info` directory contains scripts and configuration files to
install and remove a `launchd` user agent on macOS which collects
information about the system and outputs it to the file
`~/.cache/tmux/system-info`. This file is then read periodically by
`tmux` and the contents displayed in the status line.
This commit is contained in:
2021-02-16 23:55:02 +00:00
parent 1d2a5f249d
commit d96a1b7438
6 changed files with 52 additions and 5 deletions

6
system-info/remove.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
if [ `uname` = Darwin ]; then
launchctl unload ~/Library/LaunchAgents/system-info.plist
rm ~/Library/LaunchAgents/system-info.plist
fi