From 3336e880fc787c75d69873dc6636a8dd886659bf Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Sun, 27 Jun 2021 04:55:58 +0300 Subject: [PATCH] waybar: add tray module --- home/.config/waybar/config | 6 ++++++ home/.config/waybar/config-generic | 3 ++- home/.config/waybar/style-generic.css | 5 +++-- home/.config/waybar/style.css | 5 +++-- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/home/.config/waybar/config b/home/.config/waybar/config index 6ed250e..1cc24bb 100644 --- a/home/.config/waybar/config +++ b/home/.config/waybar/config @@ -17,6 +17,7 @@ ], "modules-right": [ + "tray", "custom/bluetooth", "custom/media", "custom/arrow3", @@ -85,6 +86,11 @@ "tooltip": false }, + "tray": { + "icon-size": 24, + "spacing": 8 + }, + "custom/bluetooth": { "exec": "$HOME/.config/waybar/bluetooth.sh 2>/dev/null", "interval": 2, diff --git a/home/.config/waybar/config-generic b/home/.config/waybar/config-generic index 0a03ebe..caa8a66 100644 --- a/home/.config/waybar/config-generic +++ b/home/.config/waybar/config-generic @@ -12,7 +12,8 @@ "mpd", "custom/arrow2", "custom/bluetooth", - "custom/media" + "custom/media", + "tray" ], "modules-right": [ diff --git a/home/.config/waybar/style-generic.css b/home/.config/waybar/style-generic.css index 61018d3..0db9e0d 100644 --- a/home/.config/waybar/style-generic.css +++ b/home/.config/waybar/style-generic.css @@ -92,13 +92,14 @@ #custom-pulse, #custom-alsa, #battery, +#custom-bluetooth, +#custom-media, #mpd { padding-left: 8px; padding-right: 8px; } -#custom-bluetooth, -#custom-media { +#tray { padding-left: 8px; } diff --git a/home/.config/waybar/style.css b/home/.config/waybar/style.css index bf3699b..51a1eb3 100644 --- a/home/.config/waybar/style.css +++ b/home/.config/waybar/style.css @@ -106,13 +106,14 @@ #battery, #custom-layout, #mpd, +#custom-bluetooth, +#custom-media, #mode { padding-left: 8px; padding-right: 8px; } -#custom-bluetooth, -#custom-media { +#tray { padding-right: 8px; }