![]() We can use some predefined components or create our own by executing shell commands. #!/bin/bash function battery_meter () # Calling the main function which will call the other functions. The tmux status bar can display pretty much any information we want. I will create a separate function for each status bar item to make the script modular, that way we will only call the functions that we need.Ĭheck your Tmux version. There are a lot of plug-ins you could install for Tmux but engineering things yourself is a lot of fun. I will show you how to create a modular Bash script to display useful information in the status bar. You can display all sorts of valuable information such as: ![]() Make Your Status Line 100% Better With Bashĭid you know that you can easily have a Bash script display information on the Tmux status bar? Because of that the possibilities are almost endless.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |