diff options
-rw-r--r-- | cfgfiles/i3.conf | 2 | ||||
-rw-r--r-- | common.nix | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cfgfiles/i3.conf b/cfgfiles/i3.conf index 9f2d6728..0d9c54eb 100644 --- a/cfgfiles/i3.conf +++ b/cfgfiles/i3.conf @@ -173,7 +173,7 @@ bar { bar { output @rightHead@ - status_command @conky@/bin/conky -c "@conkyrc@" -t 'NET: ${upspeed enp0s25} ${downspeed enp0s25} | DF: ${fs_used /}/${fs_size /} | LAVG: $loadavg | TEMP - CPU: ${platform coretemp.0 temp 2}C ${platform coretemp.0 temp 3}C ${platform coretemp.0 temp 4}C ${platform coretemp.0 temp 5}C - GPU: ${hwmon 0 temp 1}C - OUTSIDE: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EDMA temperature}C | ${time %a %b %d %T %Z %Y}' + status_command @conky@/bin/conky -c "@conkyrc@" -t 'NET: ${upspeed @primaryNetInterface@} ${downspeed @primaryNetInterface@} | DF: ${fs_used /}/${fs_size /} | LAVG: $loadavg | TEMP - CPU: ${platform coretemp.0 temp 2}C ${platform coretemp.0 temp 3}C ${platform coretemp.0 temp 4}C ${platform coretemp.0 temp 5}C - GPU: ${hwmon 0 temp 1}C - OUTSIDE: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EDMA temperature}C | ${time %a %b %d %T %Z %Y}' colors { focused_workspace #5c5cff #e5e5e5 diff --git a/common.nix b/common.nix index 03d45c11..08cf1530 100644 --- a/common.nix +++ b/common.nix @@ -120,6 +120,8 @@ leftHead = head config.services.xserver.xrandrHeads; rightHead = last config.services.xserver.xrandrHeads; + primaryNetInterface = "enp0s25"; + conkyrc = pkgs.writeText "conkyrc" '' cpu_avg_samples 2 net_avg_samples 2 |