mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-11 20:43:00 +01:00
waybar: add network block
This commit is contained in:
parent
5b25fbf9a3
commit
5b6b0ecdc6
2 changed files with 20 additions and 2 deletions
|
@ -13,6 +13,7 @@
|
||||||
:cava
|
:cava
|
||||||
:cpu
|
:cpu
|
||||||
:memory
|
:memory
|
||||||
|
:network
|
||||||
:pulseaudio
|
:pulseaudio
|
||||||
:gamemode
|
:gamemode
|
||||||
:temperature
|
:temperature
|
||||||
|
@ -29,7 +30,7 @@
|
||||||
:dynamic-order [:title :artist :position :length]
|
:dynamic-order [:title :artist :position :length]
|
||||||
:dynamic-importance-order [:position :length :artist :album]
|
:dynamic-importance-order [:position :length :artist :album]
|
||||||
:status-icons {:playing "" :paused "" :stopped ""}
|
:status-icons {:playing "" :paused "" :stopped ""}
|
||||||
:dynamic-len 50
|
:dynamic-len 24
|
||||||
:dynamic-separators " "}
|
:dynamic-separators " "}
|
||||||
:gamemode {:format "{glyph} {count}"}
|
:gamemode {:format "{glyph} {count}"}
|
||||||
:tray {:spacing 10}
|
:tray {:spacing 10}
|
||||||
|
@ -67,4 +68,10 @@
|
||||||
:portable ""
|
:portable ""
|
||||||
:car ""
|
:car ""
|
||||||
:default ["" "" ""]}
|
:default ["" "" ""]}
|
||||||
:on-click :pavucontrol})}
|
:on-click :pavucontrol})
|
||||||
|
:network {:interval 10
|
||||||
|
:format "{bandwidthDownBytes} {bandwidthUpBytes} "
|
||||||
|
:tooltip-format-ethernet "{ifname} {ipaddr}"
|
||||||
|
:tooltip-format-wifi "{essid} {ipaddr}"
|
||||||
|
:on-click "<% opt.term.command %> nmtui"
|
||||||
|
:on-click-right "<% opt.term.command %> doas nmtui"}}
|
||||||
|
|
|
@ -194,3 +194,14 @@ window#waybar.empty #window {
|
||||||
color: @text;
|
color: @text;
|
||||||
background: @base;
|
background: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
margin-top: 8px;
|
||||||
|
margin-left: 8px;
|
||||||
|
padding-left: 16px;
|
||||||
|
padding-right: 16px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
transition: none;
|
||||||
|
color: @base;
|
||||||
|
background: @peach;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue