correction
This commit is contained in:
+39
-25
@@ -5,7 +5,7 @@
|
||||
"spacing": 0,
|
||||
"modules-left": ["wlr/taskbar"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["network", "bluetooth", "custom/spotify", "custom/language", "pulseaudio", "cpu", "memory", "battery", "wlr/tray"],
|
||||
"modules-right": ["network","bluetooth","custom/spotify","custom/language","pulseaudio","cpu","battery","power-profiles-daemon","wlr/tray","clock#date"],
|
||||
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
@@ -14,51 +14,53 @@
|
||||
"on-click": "activate"
|
||||
},
|
||||
"custom/language": {
|
||||
"exec": "xkblayout-state print %s | tr 'a-z' 'A-Z'",
|
||||
"exec": "xkb-switch -p | tr '[:lower:]' '[:upper:]' || echo '??'",
|
||||
"interval": 1,
|
||||
"format": " {} "
|
||||
"format": "[ {}]"
|
||||
},
|
||||
"custom/spotify": {
|
||||
"format": "[{}] ",
|
||||
"format": "[played: [{}] ]",
|
||||
"exec": "playerctl metadata --format '{{artist}} - {{title}}' spotify 2>/dev/null || echo ''",
|
||||
"restart-interval": 1,
|
||||
"on-click": "spotify",
|
||||
"on-click": "spotify-launcher",
|
||||
"max-length": 50
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"format-alt": "{:%d-%m-%Y}"
|
||||
"format": "[{:%H:%M}]",
|
||||
"on-click": "gnome-calendar"
|
||||
},
|
||||
"clock#date": {
|
||||
"format": "[{:%d-%m-%Y}]",
|
||||
"on-click": "gnome-calendar"
|
||||
},
|
||||
"cpu": {
|
||||
"format": " {usage}%",
|
||||
"format": "[ {usage}%]",
|
||||
"tooltip": false,
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
"memory": {
|
||||
"format": " {}%"
|
||||
},
|
||||
"network": {
|
||||
"min-length": 10,
|
||||
"format-wifi": " {bandwidthDownBytes}",
|
||||
"format-ethernet": " {bandwidthDownBytes}",
|
||||
"format-disconnected": "⚠ DONT",
|
||||
"format-wifi": "[ {essid} {bandwidthDownBytes}]",
|
||||
"format-ethernet": "[ {bandwidthDownBytes}]",
|
||||
"format-disconnected": "[🛪 no WI-FI]",
|
||||
"interval": 1,
|
||||
"on-click": "alacritty -e nmtui"
|
||||
"on-click": "nm-connection-editor"
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "",
|
||||
"format-off": "",
|
||||
"format-connected": " {num_connections}",
|
||||
"format": "[ ]",
|
||||
"format-disabled": "[🛪 disabled]",
|
||||
"format-off": "[🛦 off]",
|
||||
"format-connected": "[ {num_connections}]",
|
||||
|
||||
"tooltip-format": "{device_enumerate}",
|
||||
"tooltip-format": "[{device_enumerate}]",
|
||||
|
||||
"on-click": "blueman-manager"
|
||||
},
|
||||
"battery": {
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": " {capacity}% {icon}",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format": "[{icon} {capacity}%] ",
|
||||
"format-charging": "[ {capacity}% {icon}]",
|
||||
"format-plugged": "[ {capacity}%]",
|
||||
"interval": 1,
|
||||
|
||||
"format-icons": [
|
||||
"",
|
||||
@@ -73,9 +75,21 @@
|
||||
"critical": 15
|
||||
}
|
||||
},
|
||||
"power-profiles-daemon": {
|
||||
"format": "[{icon}]",
|
||||
"tooltip-format": "Профиль: {profile}",
|
||||
"tooltip": true,
|
||||
"format-icons": {
|
||||
"default": "default",
|
||||
"performance": "performance",
|
||||
"balanced": "balanced",
|
||||
"power-saver": "power-saved"
|
||||
},
|
||||
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": " {volume}%",
|
||||
"format-muted": " Muted",
|
||||
"format": "[ {volume}%]",
|
||||
"format-muted": "[ muted]",
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"wlr/tray": {
|
||||
|
||||
Reference in New Issue
Block a user