diff --git a/config.jsonc b/config.jsonc index 3722a1a..1f55aa9 100644 --- a/config.jsonc +++ b/config.jsonc @@ -7,8 +7,8 @@ "gtk-layer-shell": true, "height": 50, "modules-left": ["custom/launch_wofi","hyprland/workspaces","hyprland/window","cpu","memory","disk"], - "modules-center": ["custom/lock_screen","custom/updates","clock","custom/power_btn"], - "modules-right": ["temperature","custom/power_profile","battery","backlight","pulseaudio","pulseaudio#microphone","tray","custom/weather","custom/notification","custom/light_dark"], + "modules-center": ["custom/lock_screen","clock","custom/power_btn"], + "modules-right": ["temperature","custom/power_profile","battery","backlight","network","pulseaudio","pulseaudio#microphone","tray","custom/weather","custom/notification"], "hyprland/window": { "format": "{}" @@ -63,14 +63,6 @@ "on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'" }, - "custom/updates": { - "format": "{}", - "exec": "~/.config/waybar/scripts/update-sys", - "on-click": "~/.config/waybar/scripts/update-sys update", - "interval": 300, - "tooltip": true - }, - "custom/power_profile": { //shows the current power profile and switches to next on click "exec": "echo ?", @@ -188,4 +180,12 @@ "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1" } + "network": { + "format-wifi": " {essid}", + "format-ethernet": "󰈀 {ipaddr}", + "format-linked": "󰈀 {ifname}", + "format-disconnected": "󰖪", + "tooltip-format": "{ifname} via {gwaddr}", + "on-click": "nm-connection-editor" + } }