Add tray to waybar
This commit is contained in:
parent
92a6344c32
commit
7c2d7232e5
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"modules-left": ["hyprland/workspaces"],
|
"modules-left": ["hyprland/workspaces"],
|
||||||
"modules-center": ["clock"],
|
"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": {},
|
"hyprland/workspaces": {},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": " {:%H:%M %d.%m.}",
|
"format": " {:%H:%M %d.%m.}",
|
||||||
|
@ -27,6 +27,10 @@
|
||||||
"format-icons": ["", "", ""],
|
"format-icons": ["", "", ""],
|
||||||
"reverse-scrolling": true,
|
"reverse-scrolling": true,
|
||||||
"on-click": "swaymsg exec amixer -q set Master toggle"
|
"on-click": "swaymsg exec amixer -q set Master toggle"
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
"icon-size": 16,
|
||||||
|
"spacing": 10
|
||||||
{% if (hostvars[ansible_hostname]['mobile_platform'] | default('false')) | bool %}
|
{% if (hostvars[ansible_hostname]['mobile_platform'] | default('false')) | bool %}
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
|
|
Loading…
Reference in a new issue