home
/
code
/
khatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8f74ed
)
Use antenna symbol for wifi item
author
Siraaj Khandkar
<siraaj@khandkar.net>
Mon, 2 Jul 2018 23:23:32 +0000
(19:23 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Mon, 2 Jul 2018 23:23:32 +0000
(19:23 -0400)
bin/khatus_show
patch
|
blob
|
blame
|
history
diff --git
a/bin/khatus_show
b/bin/khatus_show
index
3ae81f5
..
da35e6e
100755
(executable)
--- a/
bin/khatus_show
+++ b/
bin/khatus_show
@@
-7,6
+7,8
@@
STATUS_DIR=$HOME/var/run/status
STATUS_FILE__WIFI=$STATUS_DIR/wifi
STATUS_FILE__ENERGY_NOTIFIED_BELLOW_HALF=$STATUS_DIR/notified_energy_bellow_half
+SYMBOL_WIFI='📶'
+
#load=$(cat /proc/loadavg | awk '{printf "%4.2f %4.2f %4.2f", $1, $2, $3}')
fan=$(awk '/^speed:/ {printf "%4d", $2}' /proc/acpi/ibm/fan)
@@
-326,7
+328,7
@@
echo \
D$disk\
\
\
-
W:
[$wifi $(echo "$io_net" | awk '/^wlp3s0/ {print $2, $3}')]\
+
$SYMBOL_WIFI
[$wifi $(echo "$io_net" | awk '/^wlp3s0/ {print $2, $3}')]\
\
\
B:$bluetooth_power\
This page took
0.027255 seconds
and
4
git commands to generate.