waybar: update configs

- waybar: rename to start_waybar.sh
- waybar_card: minor formatting in tooltip
- waybar_mediaplayer: add icons to tooltip
This commit is contained in:
Konstantin Koslowski 2021-05-14 12:03:16 +02:00
parent 3d56ea7e62
commit 711c9a31f9
6 changed files with 39 additions and 18 deletions

View file

@ -11,6 +11,11 @@
"custom/separator#left"
],
"modules-center": [
"custom/separator#right",
"custom/media",
"custom/separator#center",
"pulseaudio",
"custom/separator#left"
],
"modules-right": [
"custom/separator#right",
@ -18,10 +23,6 @@
"custom/separator#right",
"custom/mail",
"custom/separator#right",
"pulseaudio",
"custom/separator#right",
"custom/media",
"custom/separator#right",
"network#wl0",
"network#en0",
"network#vpn0",
@ -38,6 +39,10 @@
"custom/separator#left": {
"format": " <span foreground='#268bd2'></span> "
},
"custom/separator#center": {
// "format": " <span foreground='#268bd2'></span> "
"format": " <span foreground='#268bd2'>|</span> "
},
"custom/separator#right": {
"format": " <span foreground='#268bd2'></span> "
},
@ -189,7 +194,13 @@
"car": "",
"default": ["", "", ""]
},
"on-click": "pkill -x pavucontrol || pavucontrol"
"min-length": 14,
"max-length": 20,
"on-click": "$HOME/.config/sway/bin/sway_volume mute",
"on-click-middle": "$HOME/.config/sway/bin/sway_volume gui",
"on-click-right": "$HOME/.config/sway/bin/sway_volume source-mute",
"on-scroll-up": "$HOME/.config/sway/bin/sway_volume increase",
"on-scroll-down": "$HOME/.config/sway/bin/sway_volume decrease-mute"
},
"tray": {
"padding": 10,