From ec598124085fac0dbdbe5b3cf733e8c66860da74 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Thu, 17 Aug 2023 00:26:49 +0300 Subject: [PATCH] wezterm|modules/desktop: get rid of unwanted fonts --- home/terminals/wezterm.nix | 7 +------ home/wayland/anyrun.nix | 3 ++- home/wayland/hyprland/config.nix | 2 +- modules/desktop.nix | 3 +++ 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/home/terminals/wezterm.nix b/home/terminals/wezterm.nix index ff201635..fb9f8fdf 100644 --- a/home/terminals/wezterm.nix +++ b/home/terminals/wezterm.nix @@ -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}, @@ -23,7 +18,7 @@ bottom = 10, }, check_for_updates = false, - default_cursor_style = "SteadyBar", + default_cursor_style = "BlinkingBar", } ''; }; diff --git a/home/wayland/anyrun.nix b/home/wayland/anyrun.nix index 5939c064..3a809810 100644 --- a/home/wayland/anyrun.nix +++ b/home/wayland/anyrun.nix @@ -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, ) ''; }; diff --git a/home/wayland/hyprland/config.nix b/home/wayland/hyprland/config.nix index bf804edb..9a1d99d2 100644 --- a/home/wayland/hyprland/config.nix +++ b/home/wayland/hyprland/config.nix @@ -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 diff --git a/modules/desktop.nix b/modules/desktop.nix index bf0015d8..9d3f919f 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -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