Merge branch 'master' of ssh://git.nx2.site:20022/nx2/dotfiles

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-29 01:57:59 +02:00
3 changed files with 10 additions and 8 deletions

View File

@@ -87,10 +87,12 @@ in
noto-fonts noto-fonts
noto-fonts-cjk noto-fonts-cjk
noto-fonts-emoji noto-fonts-emoji
] ++ [ ] ++ (with rice.font; [
rice.font.base.package base.package
rice.font.code.package code.package
]; ]) ++ (with pkgs-unstable; [
newcomputermodern
]);
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;

View File

@@ -84,7 +84,7 @@
rice = rec { rice = rec {
lib = import ./nxlib/ricelib.nix { lib = nixpkgs.lib; }; lib = import ./nxlib/ricelib.nix { lib = nixpkgs.lib; };
transparency = 0.9; transparency = 0.8;
rounding = 10; rounding = 10;
gap-size = 10; gap-size = 10;
border-width = 3; border-width = 3;
@@ -106,7 +106,7 @@
xcolor = with ccolor; { xcolor = with ccolor; {
background = black.dark; background = black.dark;
foreground = white.base; foreground = white.base;
border = red.base; border = green.base;
border2 = blue.base; border2 = blue.base;
accent = magenta.base; accent = magenta.base;
tertiary = blue.base; tertiary = blue.base;

View File

@@ -1,6 +1,6 @@
{ pkgs, pkgs-unstable, inputs, host, user, nvidia, rice, lib, ... }: { pkgs, pkgs-unstable, inputs, host, user, nvidia, rice, lib, ... }:
let let
animation-speed = "2"; animation-speed = "5";
transparency = builtins.toString rice.transparency; transparency = builtins.toString rice.transparency;
monitors = { monitors = {
xps = { xps = {
@@ -154,7 +154,7 @@ lib.mkIf (user != "tv")
gaps_in = builtins.div rice.gap-size 2; gaps_in = builtins.div rice.gap-size 2;
gaps_out = rice.gap-size; gaps_out = rice.gap-size;
border_size = rice.border-width; border_size = rice.border-width;
"col.active_border" = "rgba(${rice.lib.nohash rice.color.red.base}ff) rgba(${rice.lib.nohash rice.color.blue.base}ff) 90deg"; "col.active_border" = "rgba(${rice.lib.nohash rice.color.border}ff) rgba(${rice.lib.nohash rice.color.border2}ff) 90deg";
"col.inactive_border" = "rgba(${rice.lib.nohash rice.color.black.base}ff) rgba(${rice.lib.nohash rice.color.blue.base}ff) 90deg"; "col.inactive_border" = "rgba(${rice.lib.nohash rice.color.black.base}ff) rgba(${rice.lib.nohash rice.color.blue.base}ff) 90deg";
# cursor_inactive_timeout = 10; # cursor_inactive_timeout = 10;