Add networkmanagerapplet and click action to open from waybar

This commit is contained in:
Evie Litherland-Smith 2023-07-10 10:14:24 +01:00
parent c8470a1b10
commit 3e33ab3a31
3 changed files with 7 additions and 2 deletions

View file

@ -99,14 +99,16 @@
"tooltip-format": "{ifname}",
"format-linked": "{ifname} (No IP) 󰈁",
"format-disconnected": "Disconnected 󰈂",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"on-click": "nm-connection-editor"
},
"network#compact": {
"format-wifi": "({signalStrength}%) 󰖩",
"format-ethernet": "󰈁",
"tooltip-format": "{essid}",
"format-linked": "(No IP) 󰈁",
"format-disconnected": "󰈂"
"format-disconnected": "󰈂",
"on-click": "nm-connection-editor"
},
"bluetooth": {
"format": "󰂯 {status}",

View file

@ -175,12 +175,14 @@ in {
windowrule = float, ^(foot)$
windowrule = float, ^(pavucontrol)$
windowrule = float, ^(.blueman-manager-wrapped)$
windowrule = float, ^(nm-connection-editor)$
windowrule = float, ^(otpclient)$
windowrule = float, ^(thunar)$
windowrule = center, ^(foot)$
windowrule = center, ^(pavucontrol)$
windowrule = center, ^(.blueman-manager-wrapped)$
windowrule = center, ^(nm-connection-editor)$
windowrule = move 2% 6%, ^(otpclient)$
windowrule = workspace 2, neovide

View file

@ -5,6 +5,7 @@
}: {
home.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
networkmanagerapplet
bluez
];
xdg.configFile."waybar" = {