mirror of
https://github.com/TECHNOFAB11/tmux2k.git
synced 2025-12-11 23:50:08 +01:00
Make tmux powerful and pretty 🥊💅
| images | ||
| scripts | ||
| .gitignore | ||
| 2k.tmux | ||
| LICENSE | ||
| README.md | ||
What is this
tmux2k is a tmux plugin for that adds powerline support and pretty colors to your tmux status bar.
Features
Available Plugins:
battery: Show battery stats and percentagegit: Show Git branch and status informationcpu: Show CPU usage informationgpu: Show GPU usage informationram: Show RAM usage informationnetwork: Show network status and statisticsbandwidth: Show network bandwidth usageping: Show network ping statisticstime: Show current time and dateweather: Show weather information
Prerequisites
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of
tmux. - tpm for managing
tmuxplugins. - A patched nerd font for
powerlineand glyphs support.
Installing tmux2k
Using tpm
If you are a tpm user, you can install the theme and keep up to date by adding the following to your .tmux.conf file:
set -g @plugin '2kabhishek/tmux2k'
Add any configuration options below this line in your tmux config.
Using tmux2k
- Make sure run -b
~/.tmux/plugins/tpm/tpmis at the bottom of your.tmux.conf - Run
tmux - Use the
tpminstall command: prefix + I (default prefix isctrl+b)
Configuring tmux2k
# Left and right status bar plugins
set -g @tmux2k-left-plugins "git cpu ram"
set -g @tmux2k-right-plugins "battery network time"
#
set -g @tmux2k-show-fahrenheit false
set -g @tmux2k-military-time true
# it can accept `session`, 'window`, or any string
set -g @tmux2k-start-icon ""
# network interface to watch
set -g @tmux2k-network-name "wlo1"
# update powerline symbols
set -g @tmux2k-right-sep # alternate right status bar sep
set -g @tmux2k-win-right-sep # alternate window right sep
set -g @tmux2k-show-powerline false # disable powerline
# change refresh rate
set -g @tmux2k-refresh-rate 5
# to customize colors
set -g @tmux2k-text '#cdcdcd' # change text to white
set -g @tmux2k-bg-main '#ffffff' # change bg to white
set -g @tmux2k-yellow '#f8c800' # change yellow color
# to customize plugin colors
set -g @tmux2k-[plugin-name]-colors "[background] [foreground]"
set -g @tmux2k-cpu-colors "blue dark_gray"
Colors
Available Colors:
text: Default text color. Default:#282a36bg_main: Background color for main sections. Default:#15152abg_alt: Background color for alternate sections. Default:#45455ablack: Black color. Default:#0a0a0fwhite: White color. Default:#d5d5dared: Red color. Default:#ff001flight_red: Light red color. Default:#ff0055green: Green color. Default:#3dd50alight_green: Light green color. Default:#ccffccblue: Blue color. Default:#1688f0light_blue: Light blue color. Default:#11ddddyellow: Yellow color. Default:#ffb86clight_yellow: Light yellow color. Default:#ffd21apurple: Purple color. Default:#bf58fflight_purple: Light purple color. Default:#ff65c6
How it was built
tmux2k was built using neovim, shellcheck, nerd-fonts.
What I learned
- Learned a lot about the
tmuxandtpmecosystem. - Did some fancy shell scripting.
Inspiration
tmux2k was inspired by dracula/tmux.
What's next
To-Do
You tell me!
🧰 Tooling
- dots2k — Dev Environment
- nvim2k — Personalized Editor
- sway2k — Desktop Environment
- qute2k — Personalized Browser
🔍 More Info
- tmux-tea — Simple and powerful tmux session manager
- tmux-tilit — Turns tmux into a terminal window manager
⭐ hit the star button if you found this useful ⭐
Source | Blog | Twitter | LinkedIn | More Links | Other Projects