1
0

feat: Added vpn to waybar

This commit is contained in:
2024-12-07 18:57:43 +00:00
parent f8690caec3
commit feb4dd3cb9
4 changed files with 386 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
"modules-left": [
"sway/workspaces"
],
"modules-right": ["pulseaudio", "backlight", "network", "cpu", "memory", "disk", "temperature", "battery", "clock", "tray"],
"modules-right": ["pulseaudio", "custom/wireguard", "backlight", "network", "cpu", "memory", "disk", "temperature", "battery", "clock", "tray"],
"cpu": {
"format": "CPU: {usage}%"
},
@@ -23,5 +23,10 @@
},
"disk": {
"format": "{free}"
}
},
"custom/wireguard": {
"exec": "~/.config/waybar/scripts/wireguard.sh",
"on-click": "~/.config/waybar/scripts/wireguard.sh --toggle",
"interval": 2
}
}