diff --git a/home/common/desktop/alacritty.nix b/home/common/desktop/alacritty.nix new file mode 100644 index 0000000..b409688 --- /dev/null +++ b/home/common/desktop/alacritty.nix @@ -0,0 +1,15 @@ +{ config, lib, ... }: { + programs.alacritty = { + enable = true; + settings = { + window.padding = { + x = 10; + y = 10; + }; + font = lib.mkForce { + normal.family = config.fontProfiles.bitmap.family; + size = 12; + }; + }; + }; +} diff --git a/home/common/desktop/default.nix b/home/common/desktop/default.nix index 308b5b0..48f4813 100644 --- a/home/common/desktop/default.nix +++ b/home/common/desktop/default.nix @@ -2,7 +2,7 @@ imports = [ ./font.nix ./firefox.nix - ./kitty.nix + ./alacritty.nix ./gtk.nix ./mako.nix ./wofi.nix diff --git a/home/common/desktop/kitty.nix b/home/common/desktop/kitty.nix deleted file mode 100644 index e0425f4..0000000 --- a/home/common/desktop/kitty.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ config, inputs, pkgs, ... }: { - programs.kitty = { - enable = true; - settings = { - editor = config.home.sessionVariables.EDITOR; - window_padding_width = 10; - }; - }; -} diff --git a/home/desktop/hyprland/default.nix b/home/desktop/hyprland/default.nix index 234c699..5955c68 100644 --- a/home/desktop/hyprland/default.nix +++ b/home/desktop/hyprland/default.nix @@ -97,7 +97,7 @@ ]; bind = let - terminal = "${pkgs.kitty}/bin/kitty"; + terminal = "${pkgs.alacritty}/bin/alacritty"; grimblast = lib.getExe pkgs.grimblast; workspaces = [ "1"