waybar: add network widget, margins, border and rounded corners
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user