All Projects → lmartinking → tmux-applets

lmartinking / tmux-applets

Licence: other
A selection of tmux "applets", such as for cpu frequency, memory usage and pinging

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to tmux-applets

tmux-suspend
Plugin that lets you suspend local tmux session, so that you can work with nested remote tmux session painlessly.
Stars: ✭ 58 (+61.11%)
Mutual labels:  tmux-plugins
tmux-base16-statusline
Tmux Base16 Statusline
Stars: ✭ 24 (-33.33%)
Mutual labels:  tmux-plugins
tmux-menus
Tmux plugin, Popup menus to help with managing your environment
Stars: ✭ 124 (+244.44%)
Mutual labels:  tmux-plugins
tmux-conf
📝 TMUX Configuration for nerds with tpm
Stars: ✭ 31 (-13.89%)
Mutual labels:  tmux-plugins
tmux-zsh-vim-titles
Unified terminal titles in tmux, zsh, and vim/nvim
Stars: ✭ 28 (-22.22%)
Mutual labels:  tmux-plugins
.tmux
🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
Stars: ✭ 15,594 (+43216.67%)
Mutual labels:  tmux-plugins
nested-tmux
A simple tmux configuration for nested tmux sessions
Stars: ✭ 66 (+83.33%)
Mutual labels:  tmux-plugins
------------
tmux-applets
------------

 * tmux-cpu-freq  -  show cpu frequencies as coloured boxes

 * tmux-ping	  -  show results of pinging a host as coloured boxes

 * tmux-mem	  -  show memory usage as a coloured box

Currently tmux-cpu-freq requires Linux 2.6+ and tmux-mem requires
Linux 2.4+. If you are able to port them to other kernels please
send me patches or a pull request :-)


Installation
------------

Edit the Makefile to your needs. You may wish to change the INSTALL_DIR
and CFLAGS if you wish...

Then run:
	$ make
	$ make install


Usage in tmux
-------------
	
In ~/.tmux.conf, edit your status line:

	set status-right "#(/path/to/applet <arguments>) #(/path/to/applet2 <arguments>)"

For example, in my configuration I have:

	set status-right "#(/home/lucas/bin/tmux-cpu-freq 6)  "
	set status-interval 1


tmux-cpu-freq
-------------

	Usage:
		tmux-cpu-freq [<number-of-cpus>]

Or, you can edit NUMBER_CPUS in tmux-cpu-freq.c before compiling it.

You can also customise the colours by editing the level_colours array,
and adjusting MAX_LEVEL_COLOURS if need be.

The reason this configuration is static is since tmux must run the applet
every frequency interval, thus speed is paramount.


tmux-ping
---------

	Usage:
		tmux-ping <host>

You can change the colours by editing COLOUR_OKAY and COLOUR_ERROR in
tmux-ping.c


tmux-mem
--------

	Usage:
		tmux-mem

Colours can be customised by editing the level_colours array, and adjusting
MAX_LEVEL_COLOURS if need be.


Contact
-------

Bug reports, etc can be sent to < [email protected] >, or you can use
the github page at: < https://github.com/lmartinking/tmux-applets/issues >
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].