waybar: add network widget, margins, border and rounded corners

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-13 18:20:48 +02:00
co-authored by Claude Sonnet 4.6
parent e91b96405e
commit fe6a4af7e6
4 changed files with 56 additions and 2 deletions
+9 -1
View File
@@ -2,6 +2,8 @@
"layer": "top",
"position": "top",
"height": 24,
"margin-left": 250,
"margin-right": 250,
"modules-left": ["custom/nurgle", "sway/workspaces"],
"custom/nurgle": {
@@ -9,7 +11,7 @@
"tooltip": false
},
"modules-center": ["clock"],
"modules-right": ["cpu", "battery"],
"modules-right": ["custom/network", "cpu", "battery"],
"sway/workspaces": {
"disable-scroll": true
@@ -20,6 +22,12 @@
"interval": 60
},
"custom/network": {
"exec": "~/.local/bin/waybar-network.sh",
"interval": 2,
"format": "{}"
},
"cpu": {
"format": "CPU {usage}%",
"interval": 2