Skip to content

Commit

Permalink
wezterm|modules/desktop: get rid of unwanted fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Aug 16, 2023
1 parent a288449 commit ec59812
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
7 changes: 1 addition & 6 deletions home/terminals/wezterm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
local wezterm = require "wezterm"
return {
font = wezterm.font_with_fallback {
"${default.terminal.font}",
"Material Symbols Outlined",
"DejaVu Sans"
},
font_size = ${toString default.terminal.size},
color_scheme = "Catppuccin Mocha",
window_background_opacity = ${toString default.terminal.opacity},
Expand All @@ -23,7 +18,7 @@
bottom = 10,
},
check_for_updates = false,
default_cursor_style = "SteadyBar",
default_cursor_style = "BlinkingBar",
}
'';
};
Expand Down
3 changes: 2 additions & 1 deletion home/wayland/anyrun.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@

extraConfigFiles."nixos-options.ron".text = ''
Config(
options_path: "${osConfig.system.build.manual.optionsJSON}/share/doc/nixos/options.json"
options_path: "${osConfig.system.build.manual.optionsJSON}/share/doc/nixos/options.json",
max_entries: 5,
)
'';
};
Expand Down
2 changes: 1 addition & 1 deletion home/wayland/hyprland/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ in {
$layers = ^(eww-.+|bar|system-menu|anyrun|gtk-layer-shell)$
layerrule = blur, $layers
layerrule = ignorealpha 0, $layers
layerrule = ignorealpha 0.5, ^(eww-(music|calendar)|system-menu)$
layerrule = ignorealpha 0.5, ^(eww-(music|calendar)|system-menu|anyrun)$
layerrule = xray 1, ^(bar|gtk-layer-shell)$
# mouse movements
Expand Down
3 changes: 3 additions & 0 deletions modules/desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
(nerdfonts.override {fonts = ["FiraCode" "JetBrainsMono"];})
];

# causes more issues than it solves
enableDefaultPackages = false;

# user defined fonts
# the reason there's Noto Color Emoji everywhere is to override DejaVu's
# B&W emojis that would sometimes show instead of some Color emojis
Expand Down

0 comments on commit ec59812

Please sign in to comment.