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": [
"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,

View File

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

View File

@ -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;
}

View File

@ -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;
}