test alacritty as default on laptop
All checks were successful
nix flake show / show-flake (push) Successful in 27s

This commit is contained in:
smayzy 2025-07-24 17:59:39 +02:00
parent 1585912162
commit e5394dde16
4 changed files with 51 additions and 6 deletions

View File

@ -6,7 +6,7 @@
### KEYBINDINGSS ### ### KEYBINDINGSS ###
#################### ####################
$terminal = kitty $terminal = alacritty
$fileManager = dolphin $fileManager = dolphin
$menu = wofi --show drun $menu = wofi --show drun
$calc = qalculate-gtk $calc = qalculate-gtk

View File

@ -18,11 +18,6 @@ monitor=,preferred,auto,1
# See https://wiki.hyprland.org/Configuring/Keywords/ # See https://wiki.hyprland.org/Configuring/Keywords/
# Set programs that you use
$terminal = kitty
$fileManager = dolphin
$menu = wofi --show drun
################# #################
### AUTOSTART ### ### AUTOSTART ###
@ -176,3 +171,4 @@ device {
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
windowrulev2 = opacity 0.70 0.70,class:^(Alacritty)$

View File

@ -0,0 +1,48 @@
{ smayzy, lib, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.alacritty.enable = mkOption {
type = types.bool;
default = false;
description = "alacritty config";
};
config = mkIf smayzy.alacritty.enable {
programs.alacritty = {
enable = true;
settings = {
window = {
padding = {
x = 5;
y = 5;
};
};
font = {
normal = {
family = "JetBrainsMono Nerd Font";
style = "Medium";
};
bold = {
family = "JetBrainsMono Nerd Font";
style = "Bold";
};
italic = {
family = "JetBrainsMono Nerd Font";
style = "MediumItalic";
};
bold_italic = {
family = "JetBrainsMono Nerd Font";
style = "BoldItalic";
};
};
# colors = {
# primary = {
# background = "#000000";
# };
# };
};
};
};
}

View File

@ -2,5 +2,6 @@
{ {
imports = [ imports = [
./kitty.nix ./kitty.nix
./alacritty.nix
]; ];
} }