Hi! Is it possible to set up tillix so that I can switch between muliple windows? HOW? Tillix looks like a really nice linux environment. I would love to learn more about it.
Could you clarify a bit? Not sure what you mean by “switch between muliple windows”. Sure you can, by using previews (Alt + ` (above-tab) to switch between only current application. Also, what do you exactly mean by “really nice linux environment”? It’s a terminal
I did found out how to change (have multiple windows/tabs) open.
Do you know any place I can find out more about Tillix? There are no
good pages when I do a search online… By the way, I am doing some
BASH scripting… Do you know anything about that? I am trying to
color code text now using printf so I have the manual for printf open.
It is what I am burning for now theese days, like having all the color
code numbers for BASH in a text file when scripting.
My Google results show this as the spot.
Here is what I do for colour.
#!/bin/bash # Set Colours RED=$(tput setaf 1) GREEN=$(tput setaf 2) YELLOW=$(tput setaf 3) NC=$(tput sgr0) printf "%40s \n" "[$RED $1 $NC]"
When you toggle to a new colour, you need to set the terminal back to the default if you want regular colours again (otherwise it stays in the new colour). That is what the
$NC (no colour) is doing in this case.
This link gets into more detail. https://unix.stackexchange.com/questions/269077/tput-setaf-color-table-how-to-determine-color-codes
I found that out. Like you said, escaping the color after adding another.
Made my own template where I just stored the colors but I am using
\33[31m for example NOT tput. By the way, can you make an example
using tput without those variables in a printf line and by the way just
so I do not have to search alot know tput code for bold, italic and underline too?
Thanks for the reply.