tangled
alpha
login
or
join now
iff.io
/
fleet
0
fork
atom
nixos configs
0
fork
atom
overview
issues
pulls
pipelines
alacritty: configurable window decorations
iff.io
2 months ago
adfeb75f
35498ee1
+8
-1
4 changed files
expand all
collapse all
unified
split
home
hosts
urithiru.nix
modules
programs
alacritty
basics.nix
alacritty.nix
system
nixos
hosts
kharbranth
home.nix
+1
home/hosts/urithiru.nix
reviewed
···
19
19
dots = {
20
20
alacritty = {
21
21
enable = true;
22
22
+
decorations = "Full";
22
23
font_size = 19.0;
23
24
font_normal = "ZedMono Nerd Font";
24
25
};
+6
home/modules/programs/alacritty.nix
reviewed
···
12
12
{
13
13
options.dots.alacritty = {
14
14
enable = mkEnableOption "enable alacritty";
15
15
+
decorations = mkOption {
16
16
+
description = "alacritty window decorations";
17
17
+
type = types.str;
18
18
+
default = "None";
19
19
+
};
15
20
font_size = mkOption {
16
21
description = "alacritty font size";
17
22
type = types.number;
···
34
39
settings = {
35
40
font.normal.family = cfg.font_normal;
36
41
font.size = cfg.font_size;
42
42
+
window.decorations = cfg.decorations;
37
43
}
38
44
// lib.attrsets.recursiveUpdate (import ./alacritty/basics.nix) (import ./alacritty/colors.nix);
39
45
};
-1
home/modules/programs/alacritty/basics.nix
reviewed
···
2
2
window = {
3
3
dynamic_padding = true;
4
4
dynamic_title = true;
5
5
-
decorations = "None";
6
5
};
7
6
8
7
selection = {
+1
system/nixos/hosts/kharbranth/home.nix
reviewed
···
30
30
dots = {
31
31
alacritty = {
32
32
enable = true;
33
33
+
decorations = "None";
33
34
# for dwm, 14 for Hyprland/Niri
34
35
font_size = 13.0;
35
36
font_normal = "ZedMono Nerd Font";