done
This commit is contained in:
+34
-13
@@ -5,7 +5,7 @@
|
||||
"spacing": 0,
|
||||
"modules-left": ["wlr/taskbar"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["network", "custom/spotify", "custom/v2raya", "custom/language", "pulseaudio", "cpu", "memory", "tray"],
|
||||
"modules-right": ["network", "bluetooth", "custom/spotify", "custom/language", "pulseaudio", "cpu", "memory", "battery", "wlr/tray"],
|
||||
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
@@ -21,18 +21,10 @@
|
||||
"custom/spotify": {
|
||||
"format": "[{}] ",
|
||||
"exec": "playerctl metadata --format '{{artist}} - {{title}}' spotify 2>/dev/null || echo ''",
|
||||
"on-click": "ironbar bar spotify-popup toggle-popup spotify-music",
|
||||
"interval": 3,
|
||||
"restart-interval": 1,
|
||||
"on-click": "spotify",
|
||||
"max-length": 50
|
||||
},
|
||||
"custom/v2raya": {
|
||||
"format": "PROXY{}",
|
||||
"return-type": "json",
|
||||
"interval": 2,
|
||||
"exec": "/home/ivan/.config/waybar/v2raya-toggle.sh",
|
||||
"on-click": "/home/ivan/.config/waybar/v2raya-toggle.sh toggle",
|
||||
"signal": 10
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"format-alt": "{:%d-%m-%Y}"
|
||||
@@ -50,14 +42,43 @@
|
||||
"format-wifi": " {bandwidthDownBytes}",
|
||||
"format-ethernet": " {bandwidthDownBytes}",
|
||||
"format-disconnected": "⚠ DONT",
|
||||
"interval": 1
|
||||
"interval": 1,
|
||||
"on-click": "alacritty -e nmtui"
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "",
|
||||
"format-off": "",
|
||||
"format-connected": " {num_connections}",
|
||||
|
||||
"tooltip-format": "{device_enumerate}",
|
||||
|
||||
"on-click": "blueman-manager"
|
||||
},
|
||||
"battery": {
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": " {capacity}% {icon}",
|
||||
"format-plugged": " {capacity}%",
|
||||
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
}
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": " {volume}%",
|
||||
"format-muted": " Muted",
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"tray": {
|
||||
"wlr/tray": {
|
||||
"icon-size": 10,
|
||||
"spacing": 15
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user