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 -- Dependencies: otf-font-awesome ttf-mononoki ttf-ubuntu-font-family trayer
-- Also depends on scripts from dtos-local-bin from the dtos-core-repo. -- 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 = , additionalFonts =
[ "xft:Font Awesome 6 Free Solid:pixelsize=14" [ "Font Awesome 6 Free Solid 10"
, "xft:Font Awesome 6 Free Solid:pixelsize=13:bold" , "Font Awesome 6 Free Solid 9"
, "xft:FiraCode Nerd Font Mono:pixelsize=21" , "FiraCode Nerd Font Mono 17"
, "xft:FiraCode Nerd Font Mono:pixelsize=14" , "FiraCode Nerd Font Mono 10"
, "xft:Font Awesome 6 Free Solid:pixelsize=21" , "Font Awesome 6 Free Solid 17"
] ]
, bgColor = "#2B2E37" , bgColor = "#2B2E37"
, fgColor = "#929AAD" , fgColor = "#929AAD"

View file

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