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"; layer = "top";
modules-left = [ modules-left = [
"sway/workspaces" "sway/workspaces"
"sway/mode"
]; ];
modules-center = [ modules-center = [
"clock" "clock"
]; ];
modules-right = [ modules-right = [
"tray" "tray"
"network"
]; ];
"network" = {
"interval"= 5;
"tooltip"=false;
"on-click"= "terminal iwd";
"format-wifi"= "{icon}";
"format-icons"=[ "" "" "" "" "" ];
"format-ethernet"= "";
"format-linked"= "";
"format-disconnected"= "";
};
}]; }];
style = '' style = ''
/* {%@@ set bg_rgb = hex2rgb(color.bg) @@%} */ /* {%@@ set bg_rgb = hex2rgb(color.bg) @@%} */