added tray option to show icons on waybar
This commit is contained in:
@@ -1,80 +1,96 @@
|
|||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces"
|
"hyprland/workspaces",
|
||||||
|
"tray"
|
||||||
],
|
],
|
||||||
"modules-center": ["clock"],
|
"modules-center": [
|
||||||
"modules-right": [
|
"clock"
|
||||||
"pulseaudio",
|
],
|
||||||
"battery",
|
"modules-right": [
|
||||||
"network",
|
"pulseaudio",
|
||||||
"bluetooth",
|
"battery",
|
||||||
"cpu",
|
"network",
|
||||||
"memory",
|
"bluetooth",
|
||||||
"custom/power"
|
"cpu",
|
||||||
],
|
"memory",
|
||||||
"hyprland/workspaces": {
|
"custom/power"
|
||||||
"persistent-workspaces": {
|
],
|
||||||
"*":5
|
"hyprland/workspaces": {
|
||||||
},
|
"persistent-workspaces": {
|
||||||
"format": "{name}: {icon}",
|
"*": 5
|
||||||
"format-icons": {
|
|
||||||
"active": "",
|
|
||||||
"default": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tray": {
|
|
||||||
"icon-size": 21,
|
|
||||||
"spacing": 10
|
|
||||||
},
|
|
||||||
"clock": {
|
|
||||||
"timezone": "Europe/Budapest",
|
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
||||||
"format": "{:%d - %H:%M}"
|
|
||||||
},
|
|
||||||
"network": {
|
|
||||||
"format-wifi": " ",
|
|
||||||
"format-ethernet": " ",
|
|
||||||
"format-disconnected": " ",
|
|
||||||
"interval": 5,
|
|
||||||
"tooltip": false,
|
|
||||||
"on-click" : "nm-connection-editor"
|
|
||||||
},
|
|
||||||
"bluetooth": {
|
|
||||||
"format": "",
|
|
||||||
"format-on": "{icon}",
|
|
||||||
"format-off": "{icon}",
|
|
||||||
"format-connected":"{icon}",
|
|
||||||
"format-icons":{
|
|
||||||
"on":"",
|
|
||||||
"off": "",
|
|
||||||
"connected": "",
|
|
||||||
},
|
},
|
||||||
"on-click": "blueman-manager",
|
"format": "{name}: {icon}",
|
||||||
"tooltip-format-connected":"{device_enumerate}"
|
"format-icons": {
|
||||||
},
|
"active": "",
|
||||||
"cpu": {
|
"default": ""
|
||||||
"interval": 1,
|
}
|
||||||
"format": "{icon0}{icon1}{icon2}{icon3} {usage:>2}%",
|
|
||||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
|
||||||
},
|
|
||||||
"memory": {
|
|
||||||
"interval": 30,
|
|
||||||
"format": " {used:0.1f}G/{total:0.1f}G"
|
|
||||||
},
|
|
||||||
"pulseaudio": {
|
|
||||||
"format": "{icon} {volume}%",
|
|
||||||
"format-muted": "",
|
|
||||||
"format-icons": {
|
|
||||||
"default": ["", "", " "]
|
|
||||||
},
|
},
|
||||||
"on-click": "pavucontrol"
|
"tray": {
|
||||||
},
|
"icon-size": 21,
|
||||||
"custom/power": {
|
"spacing": 10
|
||||||
"format": "<span color='#FF4040'> </span>",
|
},
|
||||||
"on-click": "systemctl poweroff",
|
"clock": {
|
||||||
"tooltip": true,
|
"timezone": "Europe/Budapest",
|
||||||
"tooltip-format": "关机"
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
}
|
"format": "{:%d - %H:%M}"
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
"format-wifi": " ",
|
||||||
|
"format-ethernet": " ",
|
||||||
|
"format-disconnected": " ",
|
||||||
|
"interval": 5,
|
||||||
|
"tooltip": false,
|
||||||
|
"on-click": "nm-connection-editor"
|
||||||
|
},
|
||||||
|
"bluetooth": {
|
||||||
|
"format": "",
|
||||||
|
"format-on": "{icon}",
|
||||||
|
"format-off": "{icon}",
|
||||||
|
"format-connected": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"on": "",
|
||||||
|
"off": "",
|
||||||
|
"connected": "",
|
||||||
|
},
|
||||||
|
"on-click": "blueman-manager",
|
||||||
|
"tooltip-format-connected": "{device_enumerate}"
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"interval": 1,
|
||||||
|
"format": "{icon0}{icon1}{icon2}{icon3} {usage:>2}%",
|
||||||
|
"format-icons": [
|
||||||
|
"▁",
|
||||||
|
"▂",
|
||||||
|
"▃",
|
||||||
|
"▄",
|
||||||
|
"▅",
|
||||||
|
"▆",
|
||||||
|
"▇",
|
||||||
|
"█"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"interval": 30,
|
||||||
|
"format": " {used:0.1f}G/{total:0.1f}G"
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon} {volume}%",
|
||||||
|
"format-muted": "",
|
||||||
|
"format-icons": {
|
||||||
|
"default": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
" "
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"on-click": "pavucontrol"
|
||||||
|
},
|
||||||
|
"custom/power": {
|
||||||
|
"format": "<span color='#FF4040'> </span>",
|
||||||
|
"on-click": "systemctl poweroff",
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "关机"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user