diff --git a/.config/waybar/bars/bar-2.jsonc b/.config/waybar/bars/bar-2.jsonc index 43762707..f0db478d 100644 --- a/.config/waybar/bars/bar-2.jsonc +++ b/.config/waybar/bars/bar-2.jsonc @@ -9,10 +9,12 @@ "~/.config/waybar/modules/custom-notifications.jsonc", "~/.config/waybar/modules/hyprland-window.jsonc", "~/.config/waybar/modules/hyprland-workspaces.jsonc", + "~/.config/waybar/modules/network.jsonc", ], "modules-left": ["custom/arch", "hyprland/workspaces"], "modules-center": ["hyprland/window"], "modules-right": [ + "network", "memory", "cpu", "temperature#cpu", diff --git a/.config/waybar/modules/network.jsonc b/.config/waybar/modules/network.jsonc index 304a60bb..b3d3edd8 100644 --- a/.config/waybar/modules/network.jsonc +++ b/.config/waybar/modules/network.jsonc @@ -1,12 +1,14 @@ { "network": { - "format-wifi": " ", - "format-ethernet": "󰈀 ", + "format-wifi": " {ifname}", + "format-ethernet": "󰈀 {ifname}", "tooltip-format-wifi": "Network: {essid}\nSignal strength: {signaldBm}dBm ({signalStrength}%)\nFrequency: {frequency}MHz\nInterface: {ifname}\nIP: {ipaddr}/{cidr}\nGateway: {gwaddr}\nNetmask: {netmask}\n {bandwidthDownBytes}  {bandwidthUpBytes}", "tooltip-format-ethernet": "Network: {essid}\nInterface: {ifname}\nIP: {ipaddr}/{cidr}\nGateway: {gwaddr}\nNetmask: {netmask}\n {bandwidthDownBytes}  {bandwidthUpBytes}", "format-linked": "󰈀 {ifname} (No IP)", "format-disconnected": "󰖪 ", "tooltip": true, "interval": 2, + "on-click": "pypr toggle network", + "on-click-right": "pypr toggle wifi", }, } diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 0c625fe5..0c6776ad 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -322,11 +322,7 @@ window#waybar.hidden { } #network { - color: @mantle; -} - -#network { - color: @mantle; + color: @sky; } #network.disconnected { @@ -335,7 +331,8 @@ window#waybar.hidden { } #network.linked { - color: @yellow; + background-color: @peach; + color: @mantle; } #clock.cl2 {