From 4371be412cf0816a0308d46e1790967645971ec6 Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Fri, 15 Oct 2021 11:41:08 +0300 Subject: [PATCH] Add tray --- waybar/config | 6 +++++- waybar/style.css | 10 +++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/waybar/config b/waybar/config index 1eb4a01..f77564e 100644 --- a/waybar/config +++ b/waybar/config @@ -1,7 +1,7 @@ { "position": "top", "modules-left": ["sway/workspaces"], - "modules-right": ["pulseaudio", "sway/language", "network", "clock"], + "modules-right": ["pulseaudio", "sway/language", "network", "clock", "tray"], "sway/workspaces": { "all-output": true, @@ -24,5 +24,9 @@ "format": "{:%d %b %H:%M, %A}", "tooltip-format": "{:%Y %B}\n{calendar}", "on-click": "firefox https://calendar.google.com" + }, + "tray": { + "icon-size": 16, + "spacing": 10 } } diff --git a/waybar/style.css b/waybar/style.css index 8b23cce..9756351 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -8,6 +8,7 @@ window#waybar { background: #191e2a; color: #cbccc6; font-family: "Fira Code", "Font Awesome 5 Free Solid"; + font-size: 13px; } #workspaces { @@ -32,7 +33,8 @@ window#waybar { #clock, #network, #language, -#pulseaudio { +#pulseaudio, +#tray { background: #202734; margin: 10px; padding: 10px; @@ -42,9 +44,3 @@ window#waybar { #pulseaudio.muted { color: #ffa759; } - -#network, -#language, -#pulseaudio { - margin-right: 5px; -}