-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
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' |