← All tools

tmux-contrib/tmux-amphetamine

Popularity 65 Updated Development & Build

Show Amphetamine keep-awake session status in your tmux status bar

githubauto-collected

Installation

A directly usable install command is not verified yet. Check the project documentation or releases.

tmux-amphetamine

Show Amphetamine keep-awake session status in your tmux status bar.

Dependencies

  • macOS with Amphetamine installed

Installation

Add this plugin to your ~/.tmux.conf:

set -g @plugin 'tmux-contrib/tmux-amphetamine'

And install it by running <prefix + I.

Usage

Add the #{amphetamine} format string to your status bar:

set -g status-right "#{amphetamine} | %H:%M"

Configuration

| Option | Default | Description | |-------------------------------|---------|----------------------------------| | @amphetamine-active-icon | "󰻂" | Icon when a session is active | | @amphetamine-inactive-icon | "󰻃" | Icon when no session is active |

Format Strings

| Format String | Description | |------------------|--------------------------------------| | #{amphetamine} | Current Amphetamine session status |

Development

Prerequisites

Install dependencies using Nix: