add network to waybar

This commit is contained in:
Leonardo Eugênio 2022-07-19 23:34:15 -03:00
parent 36037be231
commit ffe269e755

View file

@ -177,13 +177,25 @@ in {
layer = "top";
modules-left = [
"sway/workspaces"
"sway/mode"
];
modules-center = [
"clock"
];
modules-right = [
"tray"
"network"
];
"network" = {
"interval"= 5;
"tooltip"=false;
"on-click"= "terminal iwd";
"format-wifi"= "{icon}";
"format-icons"=[ "" "" "" "" "" ];
"format-ethernet"= "";
"format-linked"= "";
"format-disconnected"= "";
};
}];
style = ''
/* {%@@ set bg_rgb = hex2rgb(color.bg) @@%} */