MENU

Fun & Interesting

The Perfect Tmux Statusbar: Custom Theming and Styling | Tmux from Scratch Part 2

MrJakob 3,717 3 weeks ago
Video Not Working? Fix It Now

Tmux Configuration from Scratch - Part 2: Visual Styling and Statusbar Customization In this second installment of our Tmux series, we dive deep into the visual aspects of your terminal multiplexer setup. Building upon the solid foundation we established in Part 1, we now focus on transforming Tmux's appearance to create a truly personalized and visually appealing environment. I'll guide you through styling Tmux using the Gruvbox color palette as our foundation, creating a cohesive look that's easy on the eyes during long coding sessions. We'll integrate Nerd Fonts to add powerful icons and glyphs that enhance both aesthetics and functionality. The heart of this video centers on comprehensive statusbar customization - we'll rebuild it from scratch, carefully configuring each element to display exactly the information you need at a glance. As with all videos in this series, we take a detailed, step-by-step approach. Rather than simply providing configuration snippets to copy, I explain the reasoning behind each choice and demonstrate how each setting impacts the final result. This ensures you gain the knowledge to customize your own Tmux theme according to your personal preferences. By the end of this tutorial, you'll have a beautifully styled Tmux environment that perfectly complements your workflow while providing essential information through a thoughtfully designed statusbar. All configuration files demonstrated in this episode are available on GitHub: https://github.com/jakobwesthoff/tmux-from-scratch.git **Chapters:** 00:00:00 - Welcome 00:01:05 - How to Style tmux? 00:01:59 - Changing the Position of the Statusbar 00:03:55 - Hot-Reloading the Configuration 00:06:11 - Basic Colors 00:10:46 - Defining a Color Palette 00:13:38 - Changing the Contents of the Statusbar 00:17:16 - Setting the Contents of the Left Section 00:18:12 - Centering the Window List 00:21:43 - Setting the Right Section Contents 00:23:41 - Coloring specific parts of the Statusbar 00:26:36 - Introducing Nerdfont Glyphs 00:26:59 - Detour: What are NerdFonts? 00:30:01 - Back to using Nedfont Glyphs 00:34:26 - Splitting Style Strings into multiple Lines 00:36:28 - More Inline Styling Colors 00:39:10 - Finishing up the Right Section 00:41:19 - Setting Maximum Length of Left and Right Section 00:43:48 - Styling the Window List 00:50:55 - Window List using Nerdfonts 00:53:36 - Fixng the "jumping" Window List 00:55:35 - Removing the Window List Separator 00:57:02 - Detour: My Shell Prompt (or why my tmux is minimal) 00:59:12 - awesome-tmux 01:00:14 - Future Outlook 01:02:27 - Thank you #tmux #terminal #tutorial

Comment