test alacritty as default on laptop
All checks were successful
nix flake show / show-flake (push) Successful in 27s
All checks were successful
nix flake show / show-flake (push) Successful in 27s
This commit is contained in:
parent
1585912162
commit
e5394dde16
@ -6,7 +6,7 @@
|
||||
### KEYBINDINGSS ###
|
||||
####################
|
||||
|
||||
$terminal = kitty
|
||||
$terminal = alacritty
|
||||
$fileManager = dolphin
|
||||
$menu = wofi --show drun
|
||||
$calc = qalculate-gtk
|
||||
|
||||
@ -18,11 +18,6 @@ monitor=,preferred,auto,1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = dolphin
|
||||
$menu = wofi --show drun
|
||||
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
@ -176,3 +171,4 @@ device {
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
|
||||
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||
windowrulev2 = opacity 0.70 0.70,class:^(Alacritty)$
|
||||
|
||||
48
modules/home-manager/terminal/alacritty.nix
Normal file
48
modules/home-manager/terminal/alacritty.nix
Normal 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";
|
||||
# };
|
||||
# };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@ -2,5 +2,6 @@
|
||||
{
|
||||
imports = [
|
||||
./kitty.nix
|
||||
./alacritty.nix
|
||||
];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user