waybar: add more icons and use patched Iosevka

This commit is contained in:
2022-07-14 00:01:52 +03:00
parent caed90efd5
commit 716406824e
2 changed files with 22 additions and 11 deletions

View File

@@ -7,6 +7,7 @@
],
"modules-right": [
"tray",
"custom/pacman-packages",
"pulseaudio",
"sway/language",
"network",
@@ -25,23 +26,36 @@
"custom/player": {
"exec": "playerctl metadata -f '{{title}} ― {{artist}}' -F"
},
"custom/pacman-packages": {
"exec": "pacman -Qu | wc -l",
"restart-interval": 900,
"format": "{icon} {}",
"format-icons": ""
},
"pulseaudio": {
"tooltip": false,
"format-muted": "MUTE",
"format": "{icon} {volume}",
"format-muted": "婢 {volume}",
"format-icons": [
"奄",
"奔",
"墳",
""
],
"on-click": "pavucontrol"
},
"sway/language": {
"tooltip": false
},
"network": {
"format": "{icon}",
"format-icons": [
""
],
"format-disconnected": "No network",
"format": "{icon} {essid}",
"format-icons": "",
"format-disconnected": "睊",
"tooltip": false
},
"backlight": {
"format": "{icon} {percent}%",
"format-icons": "",
"tooltip": false
},
"upower": {

View File

@@ -7,7 +7,7 @@
window#waybar {
background: @background;
color: @foreground;
font-family: Iosevka, "Fira Code";
font-family: "Iosevka Nerd Font", "Fira Code";
font-size: 14px;
}
@@ -35,11 +35,8 @@ window#waybar {
color: @primary;
}
#network {
font-family: "Font Awesome 6 Free Solid";
}
#tray,
#custom-pacman-packages,
#pulseaudio,
#language,
#network,