summaryrefslogtreecommitdiffstats
path: root/.local/bin/conky/net.sh
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-02-24 10:40:58 +0100
committerJoe <rrbo@proton.me>2023-02-24 10:40:58 +0100
commitc7e69ebc3ee3517103a5c348a6df55dbe133a70d (patch)
treeed2c55b6a9b769973700c57cbac5cbebd4e6c56c /.local/bin/conky/net.sh
parentup (diff)
downloaddotfiles-bsd-c7e69ebc3ee3517103a5c348a6df55dbe133a70d.tar.gz
dotfiles-bsd-c7e69ebc3ee3517103a5c348a6df55dbe133a70d.tar.bz2
dotfiles-bsd-c7e69ebc3ee3517103a5c348a6df55dbe133a70d.tar.xz
dotfiles-bsd-c7e69ebc3ee3517103a5c348a6df55dbe133a70d.tar.zst
dotfiles-bsd-c7e69ebc3ee3517103a5c348a6df55dbe133a70d.zip
up
Diffstat (limited to '')
-rwxr-xr-x.local/bin/conky/net.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh
index 9739b1c..22f16f7 100755
--- a/.local/bin/conky/net.sh
+++ b/.local/bin/conky/net.sh
@@ -22,19 +22,19 @@ elif grep up "/sys/class/net/$if_alt/operstate" >/dev/null 2>&1 && ! [ -z $(ifco
if_main=$if_alt
else
echo '${font1}NET ${hr}${font}
-${color #928374}No network${font}'
+${color1}No network${font}'
exit
fi
echo '${font1}NET ${hr 2}${font}
-${color #928374}Interface: ${font2}${color #ebdbb2}'$if_main'${font}
-${color #928374}---------
-${color #928374}LAN IP: ${font2}${color #ebdbb2}${addr '$if_main'}${font}
-${color #928374}DNS IP: ${font2}${color #ebdbb2}${nameserver 0}${font}
-${color #928374}WAN IP: ${color #ebdbb2}${font2}${execi 300 curl -s https://ifconfig.me || echo No WAN}${font}
-${color #928374}---------
-${color #928374}D: ${color #ebdbb2}${font2}${downspeed '$if_main'}${font}${goto 125}${color #928374}Total D: ${color #ebdbb2}${font2}${totaldown '$if_main'}${font}
-${color #928374}U: ${color #ebdbb2}${font2}${upspeed '$if_main'}${goto 125}${font}${color #928374}Total U: ${color #ebdbb2}${font2}${totalup '$if_main'}${font}'
+${color1}Interface: ${font2}${color0}'$if_main'${font}
+${color1}---------
+${color1}LAN IP: ${font2}${color0}${addr '$if_main'}${font}
+${color1}DNS IP: ${font2}${color0}${nameserver 0}${font}
+${color1}WAN IP: ${color0}${font2}${execi 300 curl -s https://ifconfig.me || echo No WAN}${font}
+${color1}---------
+${color1}D: ${color0}${font2}${downspeed '$if_main'}${font}${goto 125}${color1}Total D: ${color0}${font2}${totaldown '$if_main'}${font}
+${color1}U: ${color0}${font2}${upspeed '$if_main'}${goto 125}${font}${color1}Total U: ${color0}${font2}${totalup '$if_main'}${font}'
-# ${color #928374}VPN IP: ${font2}${color #ebdbb2}${addr proton0}${font}
+# ${color1}VPN IP: ${font2}${color0}${addr proton0}${font}