l: use hack fonts everywhere
This commit is contained in:
parent
31d6903c8c
commit
a3f45e80ae
@ -45,7 +45,9 @@ with import <stockholm/lib>;
|
||||
{
|
||||
services.xserver.dpi = 200;
|
||||
fonts.fontconfig.dpi = 200;
|
||||
lass.myFont = "-schumacher-clean-*-*-*-*-25-*-*-*-*-*-iso10646-1";
|
||||
lass.fonts.regular = "xft:Hack-Regular:pixelsize=22,xft:Symbola";
|
||||
lass.fonts.bold = "xft:Hack-Bold:pixelsize=22,xft:Symbola";
|
||||
lass.fonts.italic = "xft:Hack-RegularOblique:pixelsize=22,xft:Symbol";
|
||||
}
|
||||
{ #TAPIR, AGATIS, sentral, a3 - foo
|
||||
services.redis.enable = true;
|
||||
|
@ -28,9 +28,19 @@ in {
|
||||
'';
|
||||
}
|
||||
{ #font magic
|
||||
options.lass.myFont = mkOption {
|
||||
type = types.str;
|
||||
default = "-schumacher-clean-*-*-*-*-*-*-*-*-*-*-iso10646-1";
|
||||
options.lass.fonts = {
|
||||
regular = mkOption {
|
||||
type = types.str;
|
||||
default = "xft:Hack-Regular:pixelsize=11,xft:Symbola";
|
||||
};
|
||||
bold = mkOption {
|
||||
type = types.str;
|
||||
default = "xft:Hack-Bold:pixelsize=11,xft:Symbola";
|
||||
};
|
||||
italic = mkOption {
|
||||
type = types.str;
|
||||
default = "xft:Hack-RegularOblique:pixelsize=11,xft:Symbol";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
@ -82,8 +92,11 @@ in {
|
||||
termite
|
||||
];
|
||||
|
||||
fonts.fonts = [
|
||||
pkgs.xlibs.fontschumachermisc
|
||||
fonts.fonts = with pkgs; [
|
||||
hack-font
|
||||
hasklig
|
||||
symbola
|
||||
xlibs.fontschumachermisc
|
||||
];
|
||||
|
||||
services.xserver = {
|
||||
|
@ -8,8 +8,10 @@ let
|
||||
URxvt*scrollBar: false
|
||||
URxvt*urgentOnBell: true
|
||||
URxvt*SaveLines: 4096
|
||||
URxvt*font: ${config.lass.myFont}
|
||||
URxvt*boldFont: ${config.lass.myFont}
|
||||
|
||||
URxvt.font: ${config.lass.fonts.regular}
|
||||
URxvt.boldFont: ${config.lass.fonts.bold}
|
||||
URxvt.italicFont: ${config.lass.fonts.italic}
|
||||
|
||||
! ref https://github.com/muennich/urxvt-perls
|
||||
URxvt.perl-lib: ${pkgs.urxvt_perls}/lib/urxvt/perl
|
||||
|
@ -52,7 +52,7 @@ urxvtcPath :: FilePath
|
||||
urxvtcPath = "${pkgs.rxvt_unicode}/bin/urxvtc"
|
||||
|
||||
myFont :: String
|
||||
myFont = "${config.lass.myFont}"
|
||||
myFont = "${config.lass.fonts.regular}"
|
||||
|
||||
main :: IO ()
|
||||
main = getArgs >>= \case
|
||||
|
Loading…
Reference in New Issue
Block a user