Adding spacing between icons and background in tmux status bar right
side
This commit is contained in:
parent
2fda48bbb5
commit
9b181bdf2c
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ format_for_tmux() {
|
||||||
fg="#1F2430"
|
fg="#1F2430"
|
||||||
bg="#73D0FF"
|
bg="#73D0FF"
|
||||||
text_col="#CCCAC2"
|
text_col="#CCCAC2"
|
||||||
echo $1 | awk -v bg="$bg" -v fg="$fg" -v text_col="$text_col" '{printf("#[default]#[fg="bg"]#[default]#[bg="bg", fg="fg"]%s#[default]#[fg="bg"]#[default]#[fg="text_col"] %s", substr($0, 1, 1), substr($0, 2))}'
|
echo $1 | awk -v bg="$bg" -v fg="$fg" -v text_col="$text_col" '{printf("#[default]#[fg="bg"]#[default]#[bg="bg", fg="fg", bold] %s #[default]#[fg="bg"]#[default]#[fg="text_col"] %s", substr($0, 1, 1), substr($0, 2))}'
|
||||||
}
|
}
|
||||||
|
|
||||||
battery_result=$($HOME/.config/confutils/get-battery.sh)
|
battery_result=$($HOME/.config/confutils/get-battery.sh)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue