jfkdajfasklfmaslj

This commit is contained in:
Schrottkatze 2022-09-01 19:48:22 +02:00
parent fa2c1e84ec
commit a9bd549741
6 changed files with 88 additions and 12 deletions

View file

@ -1,4 +1,7 @@
{ ... }:
{
imports = [ ./desktop.nix ];
imports = [
./desktop.nix
./terminal.nix
];
}

View file

@ -278,7 +278,7 @@ in with lib; {
width = "100%";
height = "24px";
radius = 0;
tray-position = "enter";
tray-position = "center";
background = "\${colors.background}";
foreground = "\${colors.foreground}";
line-size = "4px";
@ -288,7 +288,7 @@ in with lib; {
module-margin = 1;
separator = "|";
separator-foreground = "\${colors.disabled}";
font-0 = "FiraMono Nerd Font";
font-0 = "FiraCode Nerd Font";
modules-left = "xworkspaces xwindow";
modules-right = "memory cpu wlan battery date";
cursor-click = "pointer";

41
modules/terminal.nix Normal file
View file

@ -0,0 +1,41 @@
{ config, lib, pkgs, ... }:
let cfg = config.jade.terminal;
in with lib; {
options.jade.terminal = {
enable = mkEnableOption "Enable Kitty";
};
config = mkIf cfg.enable {
home-manager.users.jade = { pkgs, ...} : {
programs.kitty = {
enable = true;
font = {
name = "FiraCode Nerd Font Mono";
size = 11;
};
settings = {
adjust_column_width = "75%";
color0 = "#282828";
color8 = "#928374";
color1 = "#cc241d";
color9 = "#fb4934";
color2 = "#98971a";
color10 = "#b8bb26";
color3 = "#d79921";
color11 = "#fabd2f";
color4 = "#458588";
color12 = "#83a598";
color5 = "#b16286";
color13 = "#d3869b";
color6 = "#689d6a";
color14 = "#8ec07c";
color7 = "#a89984";
color15 = "#ebdbb2";
foreground = "#ebdbb2";
background = "#282828";
};
};
};
};
}