waybar: add tray module

This commit is contained in:
FollieHiyuki 2021-06-27 04:55:58 +03:00
parent 84eb287357
commit 3336e880fc
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
4 changed files with 14 additions and 5 deletions

View File

@ -17,6 +17,7 @@
], ],
"modules-right": [ "modules-right": [
"tray",
"custom/bluetooth", "custom/bluetooth",
"custom/media", "custom/media",
"custom/arrow3", "custom/arrow3",
@ -85,6 +86,11 @@
"tooltip": false "tooltip": false
}, },
"tray": {
"icon-size": 24,
"spacing": 8
},
"custom/bluetooth": { "custom/bluetooth": {
"exec": "$HOME/.config/waybar/bluetooth.sh 2>/dev/null", "exec": "$HOME/.config/waybar/bluetooth.sh 2>/dev/null",
"interval": 2, "interval": 2,

View File

@ -12,7 +12,8 @@
"mpd", "mpd",
"custom/arrow2", "custom/arrow2",
"custom/bluetooth", "custom/bluetooth",
"custom/media" "custom/media",
"tray"
], ],
"modules-right": [ "modules-right": [

View File

@ -92,13 +92,14 @@
#custom-pulse, #custom-pulse,
#custom-alsa, #custom-alsa,
#battery, #battery,
#custom-bluetooth,
#custom-media,
#mpd { #mpd {
padding-left: 8px; padding-left: 8px;
padding-right: 8px; padding-right: 8px;
} }
#custom-bluetooth, #tray {
#custom-media {
padding-left: 8px; padding-left: 8px;
} }

View File

@ -106,13 +106,14 @@
#battery, #battery,
#custom-layout, #custom-layout,
#mpd, #mpd,
#custom-bluetooth,
#custom-media,
#mode { #mode {
padding-left: 8px; padding-left: 8px;
padding-right: 8px; padding-right: 8px;
} }
#custom-bluetooth, #tray {
#custom-media {
padding-right: 8px; padding-right: 8px;
} }