parent
e3341e1233
commit
4ff17ab7fc
1 changed files with 13 additions and 3 deletions
|
@ -63,7 +63,7 @@ in
|
|||
];
|
||||
modules = {
|
||||
left = "xmonad";
|
||||
center = "date wifi";
|
||||
center = "date wifi external_ip";
|
||||
right = "exchangerate volume battery lang time";
|
||||
};
|
||||
offset-x = "6px";
|
||||
|
@ -156,10 +156,20 @@ in
|
|||
type = "wireless";
|
||||
text = cfg.wifiDevice;
|
||||
};
|
||||
label.connected = "%essid% %signal%";
|
||||
label.connected = "%essid% %local_ip%";
|
||||
format.connected = {
|
||||
prefix = "| %{T4}%{T-} ";
|
||||
suffix = "%";
|
||||
suffix = " |";
|
||||
};
|
||||
};
|
||||
|
||||
"module/external_ip" = {
|
||||
type = "custom/script";
|
||||
exec = "${pkgs.myip}/bin/myip";
|
||||
interval = 60;
|
||||
format = {
|
||||
inherit padding;
|
||||
foreground = themeCfg.highlights.success;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue