Giter Club home page Giter Club logo

tmux-applet's Introduction

tmux-applet

This project enhances tmux with some useful applets. It also contains a custom configuration file and automatic start-up script.

The following information can be shown:

  • current load,
  • memory usage
  • disk space usage on a specified device,
  • failing raid array.

Installation

To build tmux-applet, simply run

make

To install system-wide, run as root:

make install

If you want to launch tmux automatically when you log in, add the following line at the beginning of your .bashrc file.

. /usr/local/share/tmux-applet/autostart.sh

Configuration

The tmux-applet program will look for a .tmux-applet.conf file in your home directory and fall back to the installed default configuration. The configuration file contains the applets to be shown in order. Some applets require arguments. An applet may be preceded by tmux attributes in square brackets (e.g., [fg=blue]) to override the default applet attributes. All elements are separated by white space. Comments starting with a hash (#) are ignored up to the end of the line.

Applet Arguments Default attr. Description
load none fg=yellow Show the current load
memory none fg=green Show RAM usage and free RAM
disk path fg=magenta Show disk usage and free space of the filesystem mounted at path
raid none bg=red Show RAID if a RAID array is degraded

To make tmux show the applets, add #(tmux-applet) to status-right or status-left in your .tmux.conf file. Alternatively, you can also use the provided tmux.conf, which includes some additional customizations.

Author and license

Copyright 2011-2013 Vianney le Clément de Saint-Marcq [email protected]

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with This program. If not, see http://www.gnu.org/licenses/.

tmux-applet's People

Contributors

vianney avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.