Update icons to fontawesome
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a289c76ec9
commit
ba151cf811
3 changed files with 3 additions and 3 deletions
|
@ -6,6 +6,6 @@ which getxkblayout >/dev/null 2>/dev/null || {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
printf '\uf812 '
|
printf '\uf11c '
|
||||||
|
|
||||||
getxkblayout | awk '/short/{ print $2 }'
|
getxkblayout | awk '/short/{ print $2 }'
|
||||||
|
|
|
@ -7,4 +7,4 @@ color='#ffffff'
|
||||||
[ ${mem_use} -gt 70 ] && color='#ffd966'
|
[ ${mem_use} -gt 70 ] && color='#ffd966'
|
||||||
[ ${mem_use} -gt 90 ] && color='#dd0000'
|
[ ${mem_use} -gt 90 ] && color='#dd0000'
|
||||||
|
|
||||||
printf '\uf85a <span color="%s">%.0f%%</span>\n' ${color} ${mem_use}
|
printf '\uf538 <span color="%s">%.0f%%</span>\n' ${color} ${mem_use}
|
||||||
|
|
|
@ -4,4 +4,4 @@ set -euo pipefail
|
||||||
DIFF=$(${HOME}/bin/tmux-timediff)
|
DIFF=$(${HOME}/bin/tmux-timediff)
|
||||||
[ -n "${DIFF}" ] && DIFF="(${DIFF})"
|
[ -n "${DIFF}" ] && DIFF="(${DIFF})"
|
||||||
|
|
||||||
printf '\uf64f %s %s\n' "$(date "+%a %Y-%m-%d %H:%M:%S")" "${DIFF}"
|
printf '\uf017 %s %s\n' "$(date "+%a %Y-%m-%d %H:%M:%S")" "${DIFF}"
|
||||||
|
|
Loading…
Reference in a new issue