mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Fix kitty config, fix hyprland config, standardize colors
This commit is contained in:
parent
4ecfe885b0
commit
c54e0e7cec
7 changed files with 52 additions and 37 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -21,6 +21,8 @@
|
|||
!machines/enka/steam/
|
||||
!machines/enka/steck/
|
||||
|
||||
!themes/
|
||||
|
||||
!flake.lock
|
||||
!.editorconfig
|
||||
!.gitignore
|
||||
|
|
|
@ -67,6 +67,8 @@
|
|||
|
||||
hyprland = hyprland.packages.${hostPlatform}.hyprland;
|
||||
|
||||
theme = import ./themes/gruvbox.nix;
|
||||
|
||||
# SYSTEM
|
||||
systemConfiguration = attributes: attributes;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, homeConfiguration, enabled, ... }:
|
||||
{ pkgs, theme, homeConfiguration, enabled, ... }:
|
||||
|
||||
homeConfiguration "nixos" {
|
||||
services.dunst = enabled {
|
||||
|
@ -11,29 +11,29 @@ homeConfiguration "nixos" {
|
|||
horizontal_padding = 10;
|
||||
padding = 10;
|
||||
|
||||
frame_color = "#D79921";
|
||||
frame_width = 1;
|
||||
frame_color = "#" + theme.activeHighlight;
|
||||
frame_width = 2;
|
||||
seperator_color = "frame";
|
||||
|
||||
background = "#1D2021";
|
||||
foreground = "#DDC7A1";
|
||||
background = "#" + theme.background;
|
||||
foreground = "#" + theme.foreground;
|
||||
|
||||
alignment = "left";
|
||||
font = "JetBrainsMono 12";
|
||||
};
|
||||
|
||||
settings.urgency_low = {
|
||||
frame_color = "#94A6FF";
|
||||
frame_color = "#" + theme.low;
|
||||
timeout = 5;
|
||||
};
|
||||
|
||||
settings.urgency_normal = {
|
||||
frame_color = "#FAA41A";
|
||||
frame_color = "#" + theme.medium;
|
||||
timeout = 10;
|
||||
};
|
||||
|
||||
settings.urgency_critical = {
|
||||
frame_color = "#F15D22";
|
||||
frame_color = "#" + theme.high;
|
||||
timeout = 15;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ homeConfiguration, enabled, ... }:
|
||||
{ theme, homeConfiguration, enabled, ... }:
|
||||
|
||||
homeConfiguration "nixos" {
|
||||
programs.fuzzel = enabled {
|
||||
|
@ -16,17 +16,17 @@ homeConfiguration "nixos" {
|
|||
};
|
||||
|
||||
settings.colors = {
|
||||
background = "1D2021FF";
|
||||
text = "DDC7A1FF";
|
||||
match = "D79921FF";
|
||||
selection = "DDC7A1FF";
|
||||
selection-text = "1D2021FF";
|
||||
border = "D79921FF";
|
||||
background = theme.background + theme.transparency;
|
||||
text = theme.foreground + theme.transparency;
|
||||
match = theme.activeHighlight + theme.transparency;
|
||||
selection = theme.text + theme.transparency;
|
||||
selection-text = theme.background + theme.transparency;
|
||||
border = theme.activeHighlight + theme.transparency;
|
||||
};
|
||||
|
||||
settings.border = {
|
||||
radius = 0;
|
||||
width = 3;
|
||||
width = 2;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, hyprland, systemConfiguration, homeConfiguration, homePackages, enabled, ... }: lib.recursiveUpdate3
|
||||
{ lib, pkgs, hyprland, theme, systemConfiguration, homeConfiguration, homePackages, enabled, ... }: lib.recursiveUpdate3
|
||||
|
||||
(systemConfiguration {
|
||||
hardware.opengl = enabled {};
|
||||
|
@ -35,15 +35,15 @@
|
|||
bind = SUPER, A, submap, fastedit
|
||||
submap = fastedit
|
||||
|
||||
bind = , left, movefocus, l
|
||||
bind = , right, movefocus, t
|
||||
bind = , up, movefocus, u
|
||||
bind = , down, movefocus, d
|
||||
binde = , left, movefocus, l
|
||||
binde = , right, movefocus, t
|
||||
binde = , up, movefocus, u
|
||||
binde = , down, movefocus, d
|
||||
|
||||
bind = CTRL, right, resizeactive, 10 0
|
||||
bind = CTRL, left, resizeactive, -10 0
|
||||
bind = CTRL, up, resizeactive, 0 -10
|
||||
bind = CTRL, down, resizeactive, 0 10
|
||||
binde = CTRL, right, resizeactive, 10 0
|
||||
binde = CTRL, left, resizeactive, -10 0
|
||||
binde = CTRL, up, resizeactive, 0 -10
|
||||
binde = CTRL, down, resizeactive, 0 10
|
||||
|
||||
bind = SHIFT, left, movewindow, l
|
||||
bind = SHIFT, right, movewindow, r
|
||||
|
@ -64,21 +64,19 @@
|
|||
bind = SUPER, W, exec, firefox
|
||||
bind = SUPER, D, exec, discord
|
||||
|
||||
bind = , Print, exec, sh -c 'grim -g "$(slurp)" - | wl-copy'
|
||||
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
|
||||
bind = SHIFT, Print, exec, kazam
|
||||
|
||||
$active_color = 0xD79921
|
||||
$inactive_color = 0x928374
|
||||
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 10
|
||||
border_size = 2
|
||||
|
||||
col.active_border = $active_color
|
||||
col.nogroup_border_active = $active_color
|
||||
col.active_border = 0x${theme.transparency}${theme.activeHighlight}
|
||||
col.nogroup_border_active = 0x${theme.transparency}${theme.activeHighlight}
|
||||
|
||||
col.inactive_border = $inactive_color
|
||||
col.nogroup_border = $inactive_color
|
||||
col.inactive_border = 0x${theme.transparency}${theme.inactiveHighlight}
|
||||
col.nogroup_border = 0x${theme.transparency}${theme.inactiveHighlight}
|
||||
|
||||
no_focus_fallback = true
|
||||
no_cursor_warps = true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, homeConfiguration, enabled, ... }:
|
||||
{ homeConfiguration, enabled, ... }:
|
||||
|
||||
homeConfiguration "nixos" {
|
||||
programs.kitty = enabled {
|
||||
|
@ -9,6 +9,6 @@ homeConfiguration "nixos" {
|
|||
settings = {
|
||||
scrollback_lines = 100000;
|
||||
mouse_hide_wait = 0;
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
13
themes/gruvbox.nix
Normal file
13
themes/gruvbox.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
transparency = "FF"; # OPAQUE
|
||||
|
||||
background = "1D2021";
|
||||
text = "DDC7A1";
|
||||
|
||||
activehighlight = "D79921";
|
||||
inactiveHighlight = "928374";
|
||||
|
||||
low = "94A6FF";
|
||||
medium = "FAA41A";
|
||||
high = "F15D22";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue