Network Inteface Information Segment for Powerline
Project description
powerline-ifinfo-segment
A Powerline Segment to Display Network Interface Infos
Installation
pip install powerline-ifinfo-segment
Configuration
Define colorschemes to your liking
# colorschemes/default.json
{
"groups": {
"interface_up": { "fg": "gray8", "bg": "gray0", "attrs": [] },
"default_interface": { "fg": "gray8", "bg": "gray0", "attrs": [] },
...
}
Indicating if a certain interface is up
# themes/tmux/default.json
{
"segments": {
"right": [
{
"function": "powerline_ifinfo.ifinfo.interface_up",
"args": {
"interface": "utun3",
"interface_up": "VPN Up",
"interface_down": null
}
},
...
]
}
}
Show the current default interface
# themes/tmux/default.json
{
"segments": {
"right": [
{
"function": "powerline_ifinfo.ifinfo.default_interface",
"args": {
"format": "{device}"
}
},
...
]
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for powerline-ifinfo-segment-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8b2e8936bf50540ad35c4e4a03bad1bfa13ac10b57141992ef727ec073c36a8 |
|
MD5 | 06e421e6190b71f72519cf67237e37c1 |
|
BLAKE2b-256 | 917fdfa6c5f179fbefd01336ba8e78b16dd65554d2f000b6319196843506911a |
Close
Hashes for powerline_ifinfo_segment-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b98ade9b65ae66fca77ac989a4804cf3a2ad3353010a52e644af66c4366a1642 |
|
MD5 | cfc4f4115129b821ea51326bbe55517a |
|
BLAKE2b-256 | 84b1a98aa7a2fd852cda3c0c9feeb54bcd2579893ce7216091f8c8ba6fc23150 |