Skip to content

Commit

Permalink
Populated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nowathom committed Jun 25, 2024
1 parent 375f70b commit 0ece1ea
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
# moxtab
# muxtab

[![pre-commit](https://github.com/nowathom/muxtab/actions/workflows/pre-commit.yaml/badge.svg)](https://github.com/nowathom/muxtab/actions/workflows/pre-commit.yaml/)

Cronjobs for tmux.
Hooks into the tmux status bar to periodically execute commands.

Install as a tpm plugin:

set -g @plugin 'nowathom/muxtab'

Then configure via a `muxtab` file in your tmux config directory. For example:

```
# runs vdirsyncer every 300 seconds
300 vdirsyncer sync
# touches a file every 100 seconds
100 touch ~/hello
```

The default location for the `muxtab` file is `~/.muxtab`.
This can be changed by setting the `@muxtab_file` tmux option:

set -g @muxtab_file '/path/to/muxtab'

0 comments on commit 0ece1ea

Please sign in to comment.