summaryrefslogtreecommitdiffstats
path: root/.local/bin/conky/net.sh
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-03-20 14:20:51 +0100
committerJoe <rrbo@proton.me>2023-03-20 14:20:51 +0100
commitc6a6f4e4284892e9008b0511f89368da885d95a5 (patch)
treea89bfabb6e90dc40b9e43532476463affc4f1dae /.local/bin/conky/net.sh
parentkleo (diff)
downloaddotfiles-bsd-c6a6f4e4284892e9008b0511f89368da885d95a5.tar.gz
dotfiles-bsd-c6a6f4e4284892e9008b0511f89368da885d95a5.tar.bz2
dotfiles-bsd-c6a6f4e4284892e9008b0511f89368da885d95a5.tar.xz
dotfiles-bsd-c6a6f4e4284892e9008b0511f89368da885d95a5.tar.zst
dotfiles-bsd-c6a6f4e4284892e9008b0511f89368da885d95a5.zip
fix
Diffstat (limited to '')
-rwxr-xr-x.local/bin/conky/net.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh
index edafe07..c997266 100755
--- a/.local/bin/conky/net.sh
+++ b/.local/bin/conky/net.sh
@@ -21,7 +21,7 @@ if grep up "/sys/class/net/$if_main/operstate" >/dev/null 2>&1 && ! [ -z $(ifcon
elif grep up "/sys/class/net/$if_alt/operstate" >/dev/null 2>&1 && ! [ -z $(ifconfig $if_alt 2>/dev/null | awk '/inet / {print $2}') ]; then
if_main=$if_alt
else
- echo '${font1}NET ${hr}${font}
+ echo '${color1}${font1}NET ${hr}${font}
${color1}No network${font}'
exit
fi