diff --git a/nix/configurations/tungsten/home/xmobar.nix b/nix/configurations/tungsten/home/xmobar.nix index 14f65dad..b1c6d480 100644 --- a/nix/configurations/tungsten/home/xmobar.nix +++ b/nix/configurations/tungsten/home/xmobar.nix @@ -19,10 +19,26 @@ , "-l", "red" ] 10 , Run XMonadLog - ] + , Run + DynNetwork + [ "--template" + , ": ↑ kB/s ↓ kB/s" + , "--Low" + , "102400" + , "--High" + , "1024000" + , "--low" + , "green" + , "--normal" + , "orange" + , "--high" + , "red" + ] + 10 + ] , sepChar = "%" , alignSep = "}{" - , template = " %XMonadLog% }{ %battery% | %date% " + , template = " %XMonadLog% }{ %dynnetwork% | %battery% | %date% " } ''; }; diff --git a/nix/configurations/vanadium/home/xmobar.nix b/nix/configurations/vanadium/home/xmobar.nix index 14f65dad..b1c6d480 100644 --- a/nix/configurations/vanadium/home/xmobar.nix +++ b/nix/configurations/vanadium/home/xmobar.nix @@ -19,10 +19,26 @@ , "-l", "red" ] 10 , Run XMonadLog - ] + , Run + DynNetwork + [ "--template" + , ": ↑ kB/s ↓ kB/s" + , "--Low" + , "102400" + , "--High" + , "1024000" + , "--low" + , "green" + , "--normal" + , "orange" + , "--high" + , "red" + ] + 10 + ] , sepChar = "%" , alignSep = "}{" - , template = " %XMonadLog% }{ %battery% | %date% " + , template = " %XMonadLog% }{ %dynnetwork% | %battery% | %date% " } ''; };