diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-06-10 12:32:06 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-06-10 12:32:06 +0530 |
| commit | 590461fca6c15fff857dd516509c24c640ce5496 (patch) | |
| tree | a64a9b30c28e8b73ddc23c61762d0c26d15a4882 | |
| parent | ff8b259b6e65c5bd47267c3c22a12e32c40b8583 (diff) | |
update waybar
| -rw-r--r-- | config/emacs/init.el | 1 | ||||
| -rw-r--r-- | config/waybar/config | 17 | ||||
| -rw-r--r-- | config/waybar/style.css | 1 |
3 files changed, 17 insertions, 2 deletions
diff --git a/config/emacs/init.el b/config/emacs/init.el index 6f075a1..5b82ce2 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -64,6 +64,7 @@ (setq popper-reference-buffers '("\\*Messages\\*" "Output\\*$" + "\\*compilation\\*" "\\*Async Shell Command\\*" "\\*Async-native-compile-log\\*" help-mode)) diff --git a/config/waybar/config b/config/waybar/config index 52d1df2..06ac5da 100644 --- a/config/waybar/config +++ b/config/waybar/config @@ -8,7 +8,7 @@ "margin-left": 0, "modules-left": ["wlr/taskbar"], "modules-center": [], - "modules-right": ["backlight", "pulseaudio", "battery", "clock"], + "modules-right": ["network", "backlight", "pulseaudio", "battery", "clock"], "clock": { "format": " {:%a, %b %d %Y | %I:%M %p}" @@ -54,5 +54,18 @@ "format": "{icon} {capacity}%", "format-icons": ["", "", "", "", ""], "max-length": 25 - } + }, + + "network": { + "interface": "wlp3s0", + "format": "{ifname}", + "format-wifi": " {essid} ({signalStrength}%)", + "format-ethernet": " {ipaddr}/{cidr}", + "format-disconnected": "Disconnected", + "tooltip-format": " {ifname} via {gwaddr}", + "tooltip-format-wifi": " {essid} ({signalStrength}%)", + "tooltip-format-ethernet": " {ifname}", + "tooltip-format-disconnected": "Disconnected", + "max-length": 50 + } } diff --git a/config/waybar/style.css b/config/waybar/style.css index f016ace..ba5c6d8 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -32,6 +32,7 @@ window#waybar { #workspaces, #tray, #battery, +#network, #pulseaudio, #backlight { margin: 6px 6px 6px 0px; |
