mirror of
https://github.com/kmein/niveum
synced 2026-03-20 20:01:08 +01:00
i3 bar: wifi
This commit is contained in:
@@ -8,6 +8,10 @@ let
|
||||
move-to-new-workspace = unstable.writers.writeDash "new-workspace" ''
|
||||
i3-msg move container to workspace $(($(i3-msg -t get_workspaces | tr , '\n' | grep '"num":' | cut -d : -f 2 | sort -rn | head -1) + 1))
|
||||
'';
|
||||
wifi-interface = {
|
||||
scardanelli = "wlp2s0";
|
||||
homeros = "wlp3s0";
|
||||
}.${config.networking.hostName};
|
||||
in with import ../theme.nix;
|
||||
rec {
|
||||
fonts = [ "${uiFont.name} ${toString uiFont.size}" ];
|
||||
@@ -68,13 +72,13 @@ rec {
|
||||
}
|
||||
|
||||
order += "run_watch retiolum"
|
||||
order += "wireless wlp3s0"
|
||||
order += "wireless ${wifi-interface}"
|
||||
order += "battery all"
|
||||
order += "volume master"
|
||||
order += "load"
|
||||
order += "tztime local"
|
||||
|
||||
wireless wlp3s0 {
|
||||
wireless ${wifi-interface} {
|
||||
format_up = "online"
|
||||
format_down = "offline"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user