← 全部工具

tmux-contrib/tmux-amphetamine

热度 65 更新于 开发与构建

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

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

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: