Configure kitty

This commit is contained in:
Isshi0417 2024-07-12 11:37:24 +09:00
parent 6e4b570718
commit 8a1fc1e188
10 changed files with 99 additions and 7 deletions

View File

@ -82,7 +82,7 @@
users.users.shoi = { users.users.shoi = {
isNormalUser = true; isNormalUser = true;
description = "Sho Ishida"; description = "Sho Ishida";
extraGroups = [ "networkmanager" "wheel" "inputs" ]; extraGroups = [ "networkmanager" "wheel" "input" ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };

View File

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
./stylix
./hyprland ./hyprland
]; ];

View File

@ -1,6 +1,11 @@
{ config, ... }: { config, ... }:
{ {
imports = [
./rofi.nix
./waybar.nix
];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
@ -91,13 +96,19 @@
workspace_swipe = "false"; workspace_swipe = "false";
}; };
"$browser" = "firefox";
"$terminal" = "kitty";
"$fileManager" = "nautilus";
"$launcher" = "rofi -show drun";
"$mod" = "SUPER"; "$mod" = "SUPER";
bind = [ bind = [
"$mod, F, exec, firefox" "$mod, F, exec, $browser"
"$mod, T, exec, kitty" "$mod, T, exec, $terminal"
"$mod, Q, killactive," "$mod, Q, killactive,"
"$mod, M, exit," "$mod, M, exit,"
"$mod, E, exec, nautilus" "$mod, E, exec, $fileManager"
"$mod, R, exec, $launcher"
"$mod, V, togglefloating," "$mod, V, togglefloating,"
"$mod, P, pseudo," "$mod, P, pseudo,"
"$mod, J, togglesplit," "$mod, J, togglesplit,"

View File

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
rofi-wayland
];
}

View File

@ -0,0 +1,14 @@
{ ... }:
{
programs.waybar = {
enable = true;
settings = {
mainBar = {
layer = "top";
position = "top";
height = 30;
};
};
};
}

View File

@ -3,6 +3,6 @@
{ {
imports = [ imports = [
./shell ./shell
./kitty
]; ];
programs.kitty.enable = true;
} }

View File

@ -0,0 +1,9 @@
{ ... }:
{
imports = [
./themes
];
programs.kitty.enable = true;
}

View File

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./retrofuturism
];
}

View File

@ -0,0 +1,45 @@
{ ... }:
{
programs.kitty = {
settings = {
foreground = "#f8f8f2";
background = "#4c4c4c";
selection_foreground = "#4c4c4c";
selection_background = "#e7e7e7";
# black
color0 = "#4c4c4c";
color8 = "#acacac";
# red
color1 = "#fe7394";
color9 = "#ffedf1";
# green
color2 = "#cacc73";
color10 = "#dadc9c";
# yellow
color3 = "#fedb5b";
color11 = "#fefbea";
# blue
color4 = "#7688ea";
color12 = "#edeffc";
# magenta
color5 = "#fac3ed";
color13 = "#fff6fe";
# cyan
color6 = "#96ceb4";
color14 = "#b8dfcd";
# white
color7 = "#e5e5cd";
color15 = "#f6f6ee";
};
};
}

View File

@ -2,7 +2,7 @@
{ {
imports = [ imports = [
./stylix
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [