1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-08-01 04:27:46 +00:00

Remove useless with themes

This commit is contained in:
RGBCube 2023-12-01 14:25:15 +03:00
parent 13f6c5655e
commit ef8608f15f
No known key found for this signature in database
3 changed files with 10 additions and 10 deletions

View file

@ -1,8 +1,8 @@
{ upkgs, homeConfiguration, enabled, ... }: { upkgs, homeConfiguration, enabled, ... }:
homeConfiguration "nixos" { homeConfiguration "nixos" {
programs.fuzzel = enabled { programs.fuzzel = with upkgs.theme; enabled {
settings.main = with upkgs.theme; { settings.main = {
dpi-aware = false; dpi-aware = false;
font = "${font.sans.name}:size=${toString font.size.big}"; font = "${font.sans.name}:size=${toString font.size.big}";
icon-theme = icons.name; icon-theme = icons.name;
@ -19,7 +19,7 @@ homeConfiguration "nixos" {
inner-pad = 10; inner-pad = 10;
}; };
settings.colors = with upkgs.theme; { settings.colors = {
background = base00 + "FF"; background = base00 + "FF";
text = base05 + "FF"; text = base05 + "FF";
match = base0A + "FF"; match = base0A + "FF";
@ -28,7 +28,7 @@ homeConfiguration "nixos" {
border = base0A + "FF"; border = base0A + "FF";
}; };
settings.border = with upkgs.theme; { settings.border = {
radius = corner-radius; radius = corner-radius;
width = border-width; width = border-width;
}; };

View file

@ -1,8 +1,8 @@
{ upkgs, homeConfiguration, enabled, ... }: { upkgs, homeConfiguration, enabled, ... }:
homeConfiguration "nixos" { homeConfiguration "nixos" {
programs.kitty = enabled { programs.kitty = with upkgs.theme.withHashtag; enabled {
font = with upkgs.theme.font; { font = with font; {
inherit (mono) name package; inherit (mono) name package;
size = size.normal; size = size.normal;
@ -10,7 +10,7 @@ homeConfiguration "nixos" {
theme = "Gruvbox Dark"; theme = "Gruvbox Dark";
settings = with upkgs.theme.withHashtag; { settings = {
allow_remote_control = true; allow_remote_control = true;
confirm_os_window_close = 0; confirm_os_window_close = 0;
focus_follows_mouse = true; focus_follows_mouse = true;

View file

@ -1,12 +1,12 @@
{ upkgs, homeConfiguration, enabled, ... }: { upkgs, homeConfiguration, enabled, ... }:
homeConfiguration "nixos" { homeConfiguration "nixos" {
programs.waybar = enabled { programs.waybar = with upkgs.theme.withHashtag; enabled {
systemd = enabled {}; systemd = enabled {};
settings = [{ settings = [{
layer = "top"; layer = "top";
height = 2 * upkgs.theme.corner-radius; height = 2 * corner-radius;
margin-right = 10; margin-right = 10;
margin-left = 10; margin-left = 10;
@ -121,7 +121,7 @@ homeConfiguration "nixos" {
}; };
}]; }];
style = with upkgs.theme; with withHashtag; '' style = ''
* { * {
border: none; border: none;
border-radius: ${toString corner-radius}px; border-radius: ${toString corner-radius}px;