mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
xmobar: add network monitoring
credits: https://github.com/gautaz/phoenix
This commit is contained in:
parent
90f6171af9
commit
40d6518fa2
2 changed files with 36 additions and 4 deletions
|
|
@ -19,10 +19,26 @@
|
|||
, "-l", "red"
|
||||
] 10
|
||||
, Run XMonadLog
|
||||
]
|
||||
, Run
|
||||
DynNetwork
|
||||
[ "--template"
|
||||
, "<dev>: ↑ <tx> kB/s ↓ <rx> kB/s"
|
||||
, "--Low"
|
||||
, "102400"
|
||||
, "--High"
|
||||
, "1024000"
|
||||
, "--low"
|
||||
, "green"
|
||||
, "--normal"
|
||||
, "orange"
|
||||
, "--high"
|
||||
, "red"
|
||||
]
|
||||
10
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " %XMonadLog% }{ %battery% | %date% "
|
||||
, template = " %XMonadLog% }{ %dynnetwork% | %battery% | %date% "
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue