Add tray to waybar

This commit is contained in:
Oliver Traber 2024-10-12 21:39:59 +02:00
parent 92a6344c32
commit 7c2d7232e5
Signed by: Bluemedia
GPG key ID: C0674B105057136C

View file

@ -1,7 +1,7 @@
{
"modules-left": ["hyprland/workspaces"],
"modules-center": ["clock"],
"modules-right": ["cpu", "memory", "network", "pulseaudio", {% if (hostvars[ansible_hostname]['mobile_platform'] | default('false')) | bool %}"battery", {% endif %}"custom/power"],
"modules-right": ["tray", "cpu", "memory", "network", "pulseaudio", {% if (hostvars[ansible_hostname]['mobile_platform'] | default('false')) | bool %}"battery", {% endif %}"custom/power"],
"hyprland/workspaces": {},
"clock": {
"format": " {:%H:%M %d.%m.}",
@ -27,6 +27,10 @@
"format-icons": ["", "", ""],
"reverse-scrolling": true,
"on-click": "swaymsg exec amixer -q set Master toggle"
},
"tray": {
"icon-size": 16,
"spacing": 10
{% if (hostvars[ansible_hostname]['mobile_platform'] | default('false')) | bool %}
},
"battery": {