ENH update fonts
This commit is contained in:
parent
fe61b0192d
commit
09909ac779
|
@ -120,7 +120,7 @@ iconFont =
|
||||||
fontSometimes
|
fontSometimes
|
||||||
"XMobar Icon Font"
|
"XMobar Icon Font"
|
||||||
"Symbols Nerd 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)
|
-- | Offsets for the icons in the bar (relative to the text offset)
|
||||||
iconOffset :: BarFont -> Int
|
iconOffset :: BarFont -> Int
|
||||||
|
@ -432,7 +432,7 @@ btCmd fontify =
|
||||||
{ csAlias = btAlias
|
{ csAlias = btAlias
|
||||||
, csRunnable =
|
, csRunnable =
|
||||||
Run $
|
Run $
|
||||||
Bluetooth (fontify' "\xf5b0" "+", fontify' "\xf5ae" "-") colors
|
Bluetooth (fontify' "\x0f00af" "+", fontify' "\x0f00af" "-") colors
|
||||||
}
|
}
|
||||||
where
|
where
|
||||||
fontify' i = fontify IconLarge i . T.append "BT"
|
fontify' i = fontify IconLarge i . T.append "BT"
|
||||||
|
@ -473,7 +473,7 @@ ckCmd :: Fontifier -> CmdSpec
|
||||||
ckCmd fontify =
|
ckCmd fontify =
|
||||||
CmdSpec
|
CmdSpec
|
||||||
{ csAlias = ckAlias
|
{ csAlias = ckAlias
|
||||||
, csRunnable = Run $ ClevoKeyboard $ fontify IconSmall "\xf40b" "KB: "
|
, csRunnable = Run $ ClevoKeyboard $ fontify IconLarge "\x0f0313" "KB: "
|
||||||
}
|
}
|
||||||
|
|
||||||
ssCmd :: Fontifier -> CmdSpec
|
ssCmd :: Fontifier -> CmdSpec
|
||||||
|
@ -509,8 +509,8 @@ lockCmd fontify =
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
where
|
where
|
||||||
numIcon = fontify' "\xf8a5" "N"
|
numIcon = fontify' "\x0f03a6" "N"
|
||||||
capIcon = fontify' "\xf657" "C"
|
capIcon = fontify' "\x0f0bf1" "C"
|
||||||
fontify' = fontify IconXLarge
|
fontify' = fontify IconXLarge
|
||||||
disabledColor = xmobarFGColor XT.backdropFgColor
|
disabledColor = xmobarFGColor XT.backdropFgColor
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue