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-cjk
noto-fonts-emoji
] ++ [
rice.font.base.package
rice.font.code.package
];
] ++ (with rice.font; [
base.package
code.package
]) ++ (with pkgs-unstable; [
newcomputermodern
]);
programs.gnupg.agent = {
enable = true;

View File

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

View File

@@ -1,6 +1,6 @@
{ pkgs, pkgs-unstable, inputs, host, user, nvidia, rice, lib, ... }:
let
animation-speed = "2";
animation-speed = "5";
transparency = builtins.toString rice.transparency;
monitors = {
xps = {
@@ -154,7 +154,7 @@ lib.mkIf (user != "tv")
gaps_in = builtins.div rice.gap-size 2;
gaps_out = rice.gap-size;
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";
# cursor_inactive_timeout = 10;