ENH update fonts

This commit is contained in:
Nathan Dwarshuis 2023-05-08 12:15:20 -04:00
parent fe61b0192d
commit 09909ac779
1 changed files with 5 additions and 5 deletions

View File

@ -120,7 +120,7 @@ iconFont =
fontSometimes
"XMobar Icon Font"
"Symbols Nerd Font"
[Package Official "ttf-nerd-fonts-symbols-2048-em"]
[Package Official "ttf-nerd-fonts-symbols"]
-- | Offsets for the icons in the bar (relative to the text offset)
iconOffset :: BarFont -> Int
@ -432,7 +432,7 @@ btCmd fontify =
{ csAlias = btAlias
, csRunnable =
Run $
Bluetooth (fontify' "\xf5b0" "+", fontify' "\xf5ae" "-") colors
Bluetooth (fontify' "\x0f00af" "+", fontify' "\x0f00af" "-") colors
}
where
fontify' i = fontify IconLarge i . T.append "BT"
@ -473,7 +473,7 @@ ckCmd :: Fontifier -> CmdSpec
ckCmd fontify =
CmdSpec
{ csAlias = ckAlias
, csRunnable = Run $ ClevoKeyboard $ fontify IconSmall "\xf40b" "KB: "
, csRunnable = Run $ ClevoKeyboard $ fontify IconLarge "\x0f0313" "KB: "
}
ssCmd :: Fontifier -> CmdSpec
@ -509,8 +509,8 @@ lockCmd fontify =
]
}
where
numIcon = fontify' "\xf8a5" "N"
capIcon = fontify' "\xf657" "C"
numIcon = fontify' "\x0f03a6" "N"
capIcon = fontify' "\x0f0bf1" "C"
fontify' = fontify IconXLarge
disabledColor = xmobarFGColor XT.backdropFgColor