Skip to content

Commit

Permalink
Set font of weston-terminal in waybar
Browse files Browse the repository at this point in the history
Hack font is added to labwc for weston-terminal

Signed-off-by: Berk Arslan <[email protected]>
  • Loading branch information
Nerox9 authored and brianmcgillion committed Feb 28, 2024
1 parent 5d26849 commit cfec51b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/graphics/fonts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ in {
// lib.mkIf labwc.enable {
fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
hack-font
];
};
}
2 changes: 1 addition & 1 deletion modules/graphics/waybar.config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
# a launcher on the panel, the launcher will replace weston-terminal launcher.
{
name = "terminal";
path = "${pkgs.weston}/bin/weston-terminal";
path = "${pkgs.weston}/bin/weston-terminal --font=${pkgs.hack-font}/share/fonts/truetype/Hack-Regular.ttf";
icon = "${pkgs.weston}/share/weston/icon_terminal.png";
}
];
Expand Down

0 comments on commit cfec51b

Please sign in to comment.