Configure kitty
This commit is contained in:
parent
6e4b570718
commit
8a1fc1e188
@ -82,7 +82,7 @@
|
||||
users.users.shoi = {
|
||||
isNormalUser = true;
|
||||
description = "Sho Ishida";
|
||||
extraGroups = [ "networkmanager" "wheel" "inputs" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "input" ];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./stylix
|
||||
./hyprland
|
||||
];
|
||||
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./rofi.nix
|
||||
./waybar.nix
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
|
||||
@ -91,13 +96,19 @@
|
||||
workspace_swipe = "false";
|
||||
};
|
||||
|
||||
"$browser" = "firefox";
|
||||
"$terminal" = "kitty";
|
||||
"$fileManager" = "nautilus";
|
||||
"$launcher" = "rofi -show drun";
|
||||
|
||||
"$mod" = "SUPER";
|
||||
bind = [
|
||||
"$mod, F, exec, firefox"
|
||||
"$mod, T, exec, kitty"
|
||||
"$mod, F, exec, $browser"
|
||||
"$mod, T, exec, $terminal"
|
||||
"$mod, Q, killactive,"
|
||||
"$mod, M, exit,"
|
||||
"$mod, E, exec, nautilus"
|
||||
"$mod, E, exec, $fileManager"
|
||||
"$mod, R, exec, $launcher"
|
||||
"$mod, V, togglefloating,"
|
||||
"$mod, P, pseudo,"
|
||||
"$mod, J, togglesplit,"
|
||||
|
||||
7
modules/home-manager/ricing/hyprland/rofi.nix
Normal file
7
modules/home-manager/ricing/hyprland/rofi.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
rofi-wayland
|
||||
];
|
||||
}
|
||||
14
modules/home-manager/ricing/hyprland/waybar.nix
Normal file
14
modules/home-manager/ricing/hyprland/waybar.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
settings = {
|
||||
mainBar = {
|
||||
layer = "top";
|
||||
position = "top";
|
||||
height = 30;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@ -3,6 +3,6 @@
|
||||
{
|
||||
imports = [
|
||||
./shell
|
||||
./kitty
|
||||
];
|
||||
programs.kitty.enable = true;
|
||||
}
|
||||
9
modules/home-manager/terminal/kitty/default.nix
Normal file
9
modules/home-manager/terminal/kitty/default.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./themes
|
||||
];
|
||||
|
||||
programs.kitty.enable = true;
|
||||
}
|
||||
7
modules/home-manager/terminal/kitty/themes/default.nix
Normal file
7
modules/home-manager/terminal/kitty/themes/default.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./retrofuturism
|
||||
];
|
||||
}
|
||||
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./stylix
|
||||
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user