Install this version:
emerge -a =app-misc/tmux-cpu-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-misc/tmux-cpu-9999
Or alternatively:
emerge --autounmask-write -a =app-misc/tmux-cpu-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EGIT_REPO_URI="https://github.com/tmux-plugins/${PN}.git"
inherit git-r3
DESCRIPTION="Plug and play cpu percentage and icon indicator for Tmux"
HOMEPAGE="https://github.com/tmux-plugins/tmux-cpu"
LICENSE="MIT"
SLOT="0"
IUSE="lm-sensors nvidia"
RDEPEND="app-misc/tmux
app-admin/sysstat
sys-process/procps
lm-sensors? ( sys-apps/lm-sensors:= )
nvidia? ( x11-drivers/nvidia-drivers:= )"
src_install() {
einstalldocs
insinto /usr/share/tmux-plugins/tmux-cpu
doins -r scripts cpu.tmux
fperms -R +x /usr/share/tmux-plugins/tmux-cpu/scripts/{cpu,gpu,gram,ram}_{b,f}g_color.sh \
/usr/share/tmux-plugins/tmux-cpu/scripts/{cpu,gpu,gram,ram}_{icon,percentage}.sh \
/usr/share/tmux-plugins/tmux-cpu/scripts/{cpu,gpu}_temp{,_bg_color,_fg_color,_icon}.sh \
/usr/share/tmux-plugins/tmux-cpu/cpu.tmux
}
Manage flags for this package:
euse -i <flag> -p app-misc/tmux-cpu |
euse -E <flag> -p app-misc/tmux-cpu |
euse -D <flag> -p app-misc/tmux-cpu
app-misc/tmux app-admin/sysstat sys-process/procps lm-sensors? ( sys-apps/lm-sensors:= ) nvidia? ( x11-drivers/nvidia-drivers:= )