change waybar's mpris module font

This commit is contained in:
chayleaf 2023-02-21 03:54:31 +07:00
parent f33c647d6e
commit 5d80d5bd59
2 changed files with 14 additions and 9 deletions

View file

@ -15,6 +15,10 @@
min-height: 0; min-height: 0;
} }
#mpris {
font-family: "Noto Sans Mono CJK JP", "Noto Sans Mono", "Symbols Nerd Font Mono", monospace;
}
window#waybar { window#waybar {
background-color: @bg; background-color: @bg;
transition-property: background-color; transition-property: background-color;

View file

@ -9,8 +9,8 @@
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "chayleaf"; owner = "chayleaf";
repo = "Waybar"; repo = "Waybar";
rev = "8c3a5d8044b9de7de445c76b22443939a6870dc4"; rev = "3091cf4a009e92665325c0dd61adf5ab367786a3";
sha256 = "sha256-4dRsR6D2KYa3eLojTNAS6UZNnle78yeNbSH2XwjcwlU="; sha256 = "sha256-zH4hbQ8+9TYRVW/XYqmAVsi0vsSPn1LPqXxr0gi0j1E=";
}; };
}); });
settings = [{ settings = [{
@ -24,16 +24,17 @@
format = "{player_icon} {dynamic}"; format = "{player_icon} {dynamic}";
format-paused = "{status_icon} {dynamic}"; format-paused = "{status_icon} {dynamic}";
interval = 1; interval = 1;
ellipsis = "";
# tooltip-format = "{dynamic}"; # tooltip-format = "{dynamic}";
album-len = 32; album-len = 44;
artist-len = 32; artist-len = 44;
title-len = 32; title-len = 44;
dynamic-len = 32; dynamic-len = 44;
player-icons = { player-icons = {
default = ""; default = "";
mpd = "🎵"; mpd = "";
}; };
status-icons.paused = ""; status-icons.paused = "";
}; };
"sway/workspaces" = { "sway/workspaces" = {
disable-scroll = true; disable-scroll = true;