Skip to content

narugit/tmux-storage-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tmux-storage-status

License: MIT

This plugin is a tmux plugin to monitor storage usage.

preview

Installation

  1. Add my plugin to the list of tpm plugins in your .tmux.conf.

    set -g @plugin 'narugit/tmux-storage-status'
  2. prefix+I to fetch the plugin and source it.

Usage

Add any of the supported format strings to the status-right tmux option.

set -g status-right 'Storage: #{storage_status}'

Default

Default output is available storage, 12G/512G.

Customize Output

To customize the output, please change storage_view_tmpl.

If you want to output (SSD)free: 60G | used: 452G | total: 512G, set like below.

set -g @storage_view_tmpl '(SSD)#[fg=#{storage.color}]free: #{storage.free} | used: #{storage.used} | total: #{storage.total}'

Supported variable

  • #{storage.color}: main storage metric color
  • #{storage.free}: free storage size
  • #{storage.pfree}: free storage percentage
  • #{storage.used}: used storage size
  • #{storage.pused}: used storage percentage
  • #{storage.total}: total storage size

Releases

No releases published

Packages

 
 
 

Languages