forked from Shinonome/dots-hyprland
Add network bandwidth tracker into wifinetworks centermodule
This commit is contained in:
@@ -105,7 +105,7 @@ const CurrentNetwork = () => {
|
|||||||
]
|
]
|
||||||
});
|
});
|
||||||
const networkBandwidth = Box({
|
const networkBandwidth = Box({
|
||||||
vertical: true,
|
vertical: true,
|
||||||
hexpand: true,
|
hexpand: true,
|
||||||
hpack: 'center',
|
hpack: 'center',
|
||||||
className: 'sidebar-wifinetworks-bandwidth',
|
className: 'sidebar-wifinetworks-bandwidth',
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/usr/bin/env -S\_/bin/sh\_-xc\_"source\_\$(eval\_echo\_\$ILLOGICAL_IMPULSE_VIRTUAL_ENV)/bin/activate&&exec\_python\_-E\_"\$0"\_"\$@""
|
#!/usr/bin/python3
|
||||||
|
# /usr/bin/env -S\_/bin/sh\_-xc\_"source\_\$(eval\_echo\_\$ILLOGICAL_IMPULSE_VIRTUAL_ENV)/bin/activate&&exec\_python\_-E\_"\$0"\_"\$@""
|
||||||
|
|
||||||
|
|
||||||
from time import sleep
|
from time import sleep
|
||||||
import sys
|
import sys
|
||||||
|
|||||||
@@ -977,8 +977,8 @@ $waifu_image_overlay_transparency: 0.7;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-wifinetworks-bandwidth {
|
.sidebar-wifinetworks-bandwidth {
|
||||||
min-width: 6.300rem;
|
min-width: 6.3rem;
|
||||||
padding-left: 1.000rem;
|
padding-left: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-centermodules-bottombar-button {
|
.sidebar-centermodules-bottombar-button {
|
||||||
|
|||||||
Reference in New Issue
Block a user