font+ transparency rice + kitty

This commit is contained in:
nx2
2024-04-04 11:58:02 +02:00
parent 551b904c32
commit 9d0835f94e
8 changed files with 86 additions and 70 deletions

View File

@@ -1,7 +1,7 @@
{ config, pkgs, pkgs-unstable, rice, lib, ... }:
let
animation-speed = "2";
transparency = "0.9";
transparency = rice.transparency;
gap-size = 10;
monitors = {
main = {
@@ -222,7 +222,7 @@ in
];
windowrulev2 = [
"opacity ${transparency},class:^(com.chatterino.chatterino)$"
"opacity ${transparency},class:^(com.chatterino.*)$"
"opacity ${transparency},class:^(chatterino)$"
"bordercolor rgba(ff00ffff) rgba(ff00ff66), pinned:1"
];
@@ -777,7 +777,7 @@ in
text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>"
color = $color0
font_size = 64
font_family = ${font.code} 10
font_family = ${rice.font.code.name} 10
position = 0, 16
halign = center
valign = center
@@ -789,7 +789,7 @@ in
text = Hey <span text_transform="capitalize" size="larger">$USER</span>
color = $color0
font_size = 20
font_family = ${font.code} 10
font_family = ${rice.font.code.name} 10
position = 0, 0
halign = center
valign = center
@@ -802,7 +802,7 @@ in
text = Type to unlock!
color = $color0
font_size = 16
font_family = ${font.code} 10
font_family = ${rice.font.code.name} 10
position = 0, 30
halign = center
valign = bottom

40
home-modules/kitty.nix Normal file
View File

@@ -0,0 +1,40 @@
{ config, pkgs, rice, ...}:
let
in
{
home.packages = with pkgs; [
kitty
];
programs.kitty = {
enable = true;
font = rice.font.code;
settings = {
background = "#000000";
foreground = "#919191";
cursor = "#919191";
color0 = "#303030";
color8 = "#5e5e5e";
color1 = "#a43261";
color9 = "#ff9fc9";
color2 = "#006ca5";
color10 = "#3bd6ff";
color3 = "#0061b1";
color11 = "#93c9ff";
color4 = "#913e88";
color12 = "#ffa7f6";
color5 = "#007086";
color13 = "#00ddf4";
color6 = "#6751a6";
color14 = "#d5b8ff";
color7 = "#c6c6c6";
color15 = "#ffffff";
background_opacity = rice.transparency;
transparency = true;
scroll_multiplier = 9;
window_padding_width = 5;
window_padding_height = 5;
};
};
}