mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-19 21:13:19 -07:00
vim formatting hints
This commit is contained in:
parent
053030050b
commit
44d913b972
7 changed files with 13 additions and 1 deletions
|
@ -49,3 +49,5 @@ __cpu_freq() {
|
||||||
[ -n "$freq" ] || return
|
[ -n "$freq" ] || return
|
||||||
color b c W; printf "%s" "$freq"; color -; color c W; printf "%s" "$ICON_GHz"; color --
|
color b c W; printf "%s" "$freq"; color -; color c W; printf "%s" "$ICON_GHz"; color --
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vi: syntax=sh ts=4 noexpandtab
|
||||||
|
|
|
@ -56,3 +56,5 @@ __disk() {
|
||||||
color b m W; printf "%s" "$size"; color -; color m W; printf "%s" "$unit"; color -;
|
color b m W; printf "%s" "$size"; color -; color m W; printf "%s" "$unit"; color -;
|
||||||
color b m W; printf "%s" "$pct"; color -; color m W; printf "%s" "$PCT"; color --;
|
color b m W; printf "%s" "$pct"; color -; color m W; printf "%s" "$PCT"; color --;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vi: syntax=sh ts=4 noexpandtab
|
||||||
|
|
|
@ -34,3 +34,5 @@ __load_average() {
|
||||||
[ -n "$one" ] || return
|
[ -n "$one" ] || return
|
||||||
color Y k; printf "$one"; color --
|
color Y k; printf "$one"; color --
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vi: syntax=sh ts=4 noexpandtab
|
||||||
|
|
|
@ -95,3 +95,5 @@ __memory() {
|
||||||
[ -n "$total" ] || return
|
[ -n "$total" ] || return
|
||||||
color b g W; printf "%s" "$total"; color -; color g W; printf "%s" "$unit"; color -; color b g "$fg"; printf "%s" "$usage"; color -; color g "$fg"; printf "%s" "$PCT"; color --
|
color b g W; printf "%s" "$total"; color -; color g W; printf "%s" "$unit"; color -; color b g "$fg"; printf "%s" "$usage"; color -; color g "$fg"; printf "%s" "$PCT"; color --
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vi: syntax=sh ts=4 noexpandtab
|
||||||
|
|
|
@ -172,3 +172,5 @@ fi
|
||||||
color k w
|
color k w
|
||||||
printf "%s" "$display_time"
|
printf "%s" "$display_time"
|
||||||
color --
|
color --
|
||||||
|
|
||||||
|
# vi: syntax=sh ts=4 noexpandtab
|
||||||
|
|
|
@ -34,4 +34,4 @@ __trash() {
|
||||||
printf "%s[%s]" "$ICON_TRASH" "$count"
|
printf "%s[%s]" "$ICON_TRASH" "$count"
|
||||||
}
|
}
|
||||||
|
|
||||||
# vi: syntax=sh ts=4 noexpandtab
|
# vi: syntax=sh ts=4 noexpandtab
|
|
@ -55,3 +55,5 @@ __uptime() {
|
||||||
[ -n "$str" ] || return
|
[ -n "$str" ] || return
|
||||||
color w b; printf "%s" "${str}"; color --
|
color w b; printf "%s" "${str}"; color --
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vi: syntax=sh ts=4 noexpandtab
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue