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}", "tooltip-format": "{ifname}",
"format-linked": "{ifname} (No IP) 󰈁", "format-linked": "{ifname} (No IP) 󰈁",
"format-disconnected": "Disconnected 󰈂", "format-disconnected": "Disconnected 󰈂",
"format-alt": "{ifname}: {ipaddr}/{cidr}" "format-alt": "{ifname}: {ipaddr}/{cidr}",
"on-click": "nm-connection-editor"
}, },
"network#compact": { "network#compact": {
"format-wifi": "({signalStrength}%) 󰖩", "format-wifi": "({signalStrength}%) 󰖩",
"format-ethernet": "󰈁", "format-ethernet": "󰈁",
"tooltip-format": "{essid}", "tooltip-format": "{essid}",
"format-linked": "(No IP) 󰈁", "format-linked": "(No IP) 󰈁",
"format-disconnected": "󰈂" "format-disconnected": "󰈂",
"on-click": "nm-connection-editor"
}, },
"bluetooth": { "bluetooth": {
"format": "󰂯 {status}", "format": "󰂯 {status}",

View file

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

View file

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