waybar: update widgets
style: add fontawesome as fallback mail: add tooltip with details mediaplayer: add tooltip card: add information about card
This commit is contained in:
parent
8708e3f6f5
commit
2765fdd6cf
6 changed files with 84 additions and 27 deletions
|
@ -13,10 +13,13 @@
|
|||
"modules-center": [
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/separator#right",
|
||||
"custom/card",
|
||||
"custom/separator#right",
|
||||
"custom/mail",
|
||||
"custom/separator#right",
|
||||
"pulseaudio",
|
||||
"custom/separator#right",
|
||||
"custom/media",
|
||||
"custom/separator#right",
|
||||
"network#en0",
|
||||
|
@ -50,36 +53,55 @@
|
|||
"exec": "$HOME/.config/sway/bin/waybar_khal.py 2> /dev/null",
|
||||
"on-click": "foot -T float khal interactive"
|
||||
},
|
||||
"custom/card": {
|
||||
"format": "{icon} {}",
|
||||
"tooltip-format": "{}",
|
||||
"tooltip": true,
|
||||
"return-type": "json",
|
||||
"min-length": 3,
|
||||
"max-length": 3,
|
||||
"interval": 10,
|
||||
"format-icons": {
|
||||
"available": "",
|
||||
"missing": ""
|
||||
},
|
||||
"escape": true,
|
||||
"exec": "$HOME/.config/sway/bin/waybar_card.sh 2> /dev/null"
|
||||
},
|
||||
"custom/mail": {
|
||||
"format": "{icon} {}",
|
||||
"tooltip-format": "{}",
|
||||
"tooltip": true,
|
||||
"return-type": "json",
|
||||
"min-length": 15,
|
||||
"max-length": 15,
|
||||
"min-length": 5,
|
||||
"max-length": 5,
|
||||
"interval": 30,
|
||||
"format-icons": {
|
||||
"unread": " ",
|
||||
"read": " "
|
||||
},
|
||||
"escape": true,
|
||||
"exec": "$HOME/.config/sway/bin/waybar_mail 2> /dev/null"
|
||||
"exec": "$HOME/.config/sway/bin/waybar_mail.sh 2> /dev/null"
|
||||
},
|
||||
"custom/media": {
|
||||
"format": "{icon} {}",
|
||||
"tooltip-format": "{}",
|
||||
"tooltip": true,
|
||||
"return-type": "json",
|
||||
"min-length": 30,
|
||||
"max-length": 40,
|
||||
"format-icons": {
|
||||
"chromium": " ",
|
||||
"firefox": " ",
|
||||
"Plexamp": " ",
|
||||
"default": "♫ "
|
||||
"Plexamp": "♫ ",
|
||||
"default": "♪ "
|
||||
},
|
||||
"escape": true,
|
||||
"exec": "$HOME/.config/sway/bin/waybar_mediaplayer.py 2> /dev/null",
|
||||
"exec-if": "pgrep plexamp"
|
||||
},
|
||||
"clock": {
|
||||
"format": "<span foreground='#ebdbb2'> </span>{: %a, %b %d, %H:%M}",
|
||||
"format": "<span foreground='#ebdbb2'> </span>{: %a, %b %d, %H:%M}",
|
||||
"on-click": "foot -T float khal interactive"
|
||||
},
|
||||
"cpu": {
|
||||
|
@ -98,10 +120,6 @@
|
|||
},
|
||||
"on-click": "foot -T float bashtop"
|
||||
},
|
||||
"backlight": {
|
||||
"format": "<span foreground='#ebdbb2'>{icon}</span> {percent:3}%",
|
||||
"format-icons": [""]
|
||||
},
|
||||
"battery": {
|
||||
"bat": "BAT0",
|
||||
"design-capacity": false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue