mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 06:51:54 -05:00
rofi: migrate to font modules
This commit is contained in:
parent
1cf84a98ea
commit
c25993a37f
|
@ -15,7 +15,7 @@ in {
|
|||
};
|
||||
|
||||
main = {
|
||||
font = "${cfg.theme.monospaceFont.name}:size=${cfg.theme.monospaceFont.size}";
|
||||
font = "${cfg.theme.monospaceFont.name}:size=${toString cfg.theme.monospaceFont.size}";
|
||||
icon-theme = "${config.gtk.iconTheme.name}";
|
||||
layer = "overlay";
|
||||
lines = 3;
|
||||
|
|
|
@ -11,7 +11,7 @@ in {
|
|||
enable = true;
|
||||
|
||||
font = {
|
||||
inherit (cfg.theme.monospaceFont) name;
|
||||
name = cfg.theme.monospaceFont.name;
|
||||
size = cfg.theme.monospaceFont.size + 1;
|
||||
};
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ in {
|
|||
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
font = "${cfg.theme.monospaceFont.name} ${cfg.theme.monospaceFont.size}";
|
||||
font = "${cfg.theme.monospaceFont.name} ${toString cfg.theme.monospaceFont.size}";
|
||||
location = "center";
|
||||
package = pkgs.rofi-wayland;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ in {
|
|||
|
||||
userSettings = {
|
||||
"diffEditor.ignoreTrimWhitespace" = false;
|
||||
"editor.fontFamily" = "'${cfg.theme.monospaceFont.name} ${cfg.theme.monospaceFont.size}', 'monospace', monospace";
|
||||
"editor.fontFamily" = "'${cfg.theme.monospaceFont.name} ${toString cfg.theme.monospaceFont.size}', 'monospace', monospace";
|
||||
"editor.fontSize" = lib.mkDefault 14;
|
||||
"editor.formatOnPaste" = true;
|
||||
"editor.formatOnSave" = true;
|
||||
|
|
Loading…
Reference in a new issue