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