diff options
author | Joe <rrbo@proton.me> | 2023-02-24 10:40:58 +0100 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-02-24 10:40:58 +0100 |
commit | c7e69ebc3ee3517103a5c348a6df55dbe133a70d (patch) | |
tree | ed2c55b6a9b769973700c57cbac5cbebd4e6c56c /.local | |
parent | up (diff) | |
download | dotfiles-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 '.local')
-rwxr-xr-x | .local/bin/conky/net.sh | 20 | ||||
-rwxr-xr-x | .local/bin/conky/weather.sh | 2 |
2 files changed, 11 insertions, 11 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} diff --git a/.local/bin/conky/weather.sh b/.local/bin/conky/weather.sh index 5490d9f..3443883 100755 --- a/.local/bin/conky/weather.sh +++ b/.local/bin/conky/weather.sh @@ -10,4 +10,4 @@ case "$(hostname -s)" in esac echo '${font1}WEAT ${hr 2} -${font2}${color #ebdbb2}${alignc}${execi 1800 curl wttr.in/Lyon?T0 --silent --max-time 3}${font}' +${font2}${color0}${alignc}${execi 1800 curl wttr.in/Lyon?T0 --silent --max-time 3}${font}' |