waybar: update waybar

This commit is contained in:
2024-04-25 19:53:28 +03:00
parent 9dcab8243f
commit fc1de9345e
2 changed files with 18 additions and 30 deletions

View File

@@ -9,8 +9,6 @@
"pulseaudio",
"sway/language",
"network",
"backlight",
"upower",
"clock"
],
"sway/workspaces": {
@@ -22,37 +20,34 @@
"tooltip": false
},
"pulseaudio": {
"tooltip": false,
"format": "{icon} {volume}",
"format-muted": "婢 {volume}",
"format": "{icon} {volume}%",
"format-icons": [
"",
"奔",
"墳",
"",
"",
""
],
"on-click": "pavucontrol"
"format-muted": " 0%",
"tooltip": false
},
"sway/language": {
"tooltip": false
},
"network": {
"format": "{icon} {essid}",
"format-icons": "",
"format-disconnected": "",
"tooltip": false
},
"backlight": {
"format": "{icon} {percent}%",
"format-icons": "",
"tooltip": false
},
"upower": {
"format": "{icon}",
"format-ethernet": "",
"format-wifi": "",
"format-disconnected": "No network",
"tooltip": false
},
"clock": {
"format": "{:%d %b %H:%M, %A}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"locale": "ru_RU.UTF-8",
"calendar": {
"format": {
"today": "<span color='#ffcc66'><b><u>{}</u></b></span>"
}
}
},
"tray": {
"icon-size": 16,

View File

@@ -7,7 +7,8 @@
window#waybar {
background: @background;
color: @foreground;
font-family: "Iosevka NF", "Fira Code Nerd Font";
font-family: "Iosevka NF", "Fira Code Nerd Font", "Font Awesome 6 Free",
"Font Awesome 6 Brands";
font-size: 14px;
}
@@ -34,19 +35,11 @@ window.eDP-1 * {
}
#tray,
#custom-pacman-packages,
#pulseaudio,
#language,
#network,
#upower,
#backlight,
#clock {
margin: 8px;
font-style: italic;
padding: 0;
color: @foreground;
}
#pulseaudio.muted {
color: @primary;
}