hardware/wireless: add wpa_gui

This commit is contained in:
Infinidoge 2024-03-10 00:15:40 -05:00
parent ec3d493e67
commit 8ae5370b66
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
2 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, private, ... }: { config, lib, private, pkgs, ... }:
with lib; with lib;
with lib.our; with lib.our;
let let
@ -33,6 +33,7 @@ in
userControlled.enable = true; userControlled.enable = true;
fallbackToWPA2 = mkDefault false; fallbackToWPA2 = mkDefault false;
}; };
environment.systemPackages = [ pkgs.wpa_supplicant_gui ];
}) })
]; ];
} }

View file

@ -507,6 +507,7 @@ groups.append(
DropDown("calculator", "speedcrunch", x=0.2, y=0.2, width=0.6, height=0.6), DropDown("calculator", "speedcrunch", x=0.2, y=0.2, width=0.6, height=0.6),
DropDown("arandr", "arandr", x=0.2, y=0.1, width=0.6, height=0.4), DropDown("arandr", "arandr", x=0.2, y=0.1, width=0.6, height=0.4),
DropDown("bluetooth", "blueman-manager", x=0.2, y=0.2, width=0.6, height=0.6), DropDown("bluetooth", "blueman-manager", x=0.2, y=0.2, width=0.6, height=0.6),
DropDown("wifi", "wpa_gui", x=0.3, y=0.3, width=0.4, height=0.4),
], ],
) )
) )
@ -526,6 +527,10 @@ keys.extend(
[Keys.SUPER, Keys.ALT], "b", [Keys.SUPER, Keys.ALT], "b",
lazy.group["scratchpad"].dropdown_toggle("bluetooth"), lazy.group["scratchpad"].dropdown_toggle("bluetooth"),
), ),
Key(
[Keys.SUPER, Keys.ALT], "n",
lazy.group["scratchpad"].dropdown_toggle("wifi"),
),
] ]
) )
# fmt: on # fmt: on