Updated xmobar config to new font engine format

This commit is contained in:
afonsofrancof 2022-11-02 12:52:45 +00:00
parent cde7c7d10f
commit 14a311b32c
2 changed files with 12 additions and 12 deletions

View file

@ -4,13 +4,13 @@
-- Dependencies: otf-font-awesome ttf-mononoki ttf-ubuntu-font-family trayer
-- Also depends on scripts from dtos-local-bin from the dtos-core-repo.
Config {font = "xft:Ubuntu:weight=bold:pixelsize=14:antialias=true:hinting=true"
Config {font = "Ubuntu bold 10"
, additionalFonts =
[ "xft:Font Awesome 6 Free Solid:pixelsize=14"
, "xft:Font Awesome 6 Free Solid:pixelsize=13:bold"
, "xft:FiraCode Nerd Font Mono:pixelsize=21"
, "xft:FiraCode Nerd Font Mono:pixelsize=14"
, "xft:Font Awesome 6 Free Solid:pixelsize=21"
[ "Font Awesome 6 Free Solid 10"
, "Font Awesome 6 Free Solid 9"
, "FiraCode Nerd Font Mono 17"
, "FiraCode Nerd Font Mono 10"
, "Font Awesome 6 Free Solid 17"
]
, bgColor = "#2B2E37"
, fgColor = "#929AAD"

View file

@ -4,13 +4,13 @@
-- Dependencies: otf-font-awesome ttf-mononoki ttf-ubuntu-font-family trayer
-- Also depends on scripts from dtos-local-bin from the dtos-core-repo.
Config { font = "xft:Ubuntu:weight=bold:pixelsize=12:antialias=true:hinting=true"
Config {font = "Ubuntu bold 10"
, additionalFonts =
[ "xft:Font Awesome 6 Free Solid:pixelsize=12"
, "xft:Font Awesome 6 Free Solid:pixelsize=10:bold"
, "xft:Font Awesome 6 Free Solid:pixelsize=14"
, "xft:Hack Nerd Font Mono:pixelsize=19"
, "xft:Hack Nerd Font Mono:pixelsize=23"
[ "Font Awesome 6 Free Solid 10"
, "Font Awesome 6 Free Solid 9"
, "FiraCode Nerd Font Mono 17"
, "FiraCode Nerd Font Mono 10"
, "Font Awesome 6 Free Solid 17"
]
, bgColor = "#2B2E37"
, fgColor = "#929AAD"