rice tweaks
This commit is contained in:
parent
744e84f8c7
commit
d625caa14d
4 changed files with 61 additions and 21 deletions
|
|
@ -23,23 +23,60 @@
|
|||
background = [
|
||||
{
|
||||
path = "screenshot";
|
||||
brightness = 0.25;
|
||||
brightness = 0.5;
|
||||
blur_passes = 3;
|
||||
blur_size = 1;
|
||||
blur_size = 2;
|
||||
}
|
||||
];
|
||||
|
||||
label = [
|
||||
# {
|
||||
# text = "<span> </span>";
|
||||
# color = "$subtext1";
|
||||
# font_size = 64;
|
||||
# position = "0, 0";
|
||||
# shadow_passes = 1;
|
||||
# shadow_boost = 0.5;
|
||||
# halign = "center";
|
||||
# valign = "center";
|
||||
# }
|
||||
{
|
||||
text = "<span> </span>";
|
||||
color = "$subtext1";
|
||||
font_size = 64;
|
||||
position = "0, 0";
|
||||
shadow_passes = 1;
|
||||
shadow_boost = 0.5;
|
||||
text = "cmd[update:1000] echo \"<span>$(date +'%I:%M')</span>\"";
|
||||
color = "rgba(216, 222, 233, 0.7)";
|
||||
font_size = "120";
|
||||
font_family = rice.font;
|
||||
position = "0, 240";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
{
|
||||
text = "cmd[update:1000] echo \"$(date +'%A, %d %B')\"";
|
||||
color = "rgba(216, 222, 233, 0.7)";
|
||||
font_size = "30";
|
||||
font_family = rice.font;
|
||||
position = "0, 105";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
{
|
||||
text = " Hibernate";
|
||||
color = "rgba(255, 255, 255, 0.7)";
|
||||
font_size = "10";
|
||||
onclick = "systemctl hibernate";
|
||||
font_family = rice.font;
|
||||
position = "${toString (rice.gap.outer + 12)}, -${toString (rice.gap.outer + 8)}";
|
||||
halign = "left";
|
||||
valign = "top";
|
||||
}
|
||||
{
|
||||
text = "cmd[update:1000] echo \" $(upower -i $(upower -e | grep 'BAT') | grep 'percentage' | awk '{print $2}' | sed 's/%//')%\"";
|
||||
color = "rgba(255, 255, 255, 0.7)";
|
||||
font_size = "10";
|
||||
font_family = rice.font;
|
||||
position = "-${toString (rice.gap.outer + 12)}, -${toString (rice.gap.outer + 8)}";
|
||||
halign = "right";
|
||||
valign = "top";
|
||||
}
|
||||
];
|
||||
|
||||
input-field = [
|
||||
|
|
@ -58,7 +95,7 @@
|
|||
outer_color = if rice.borders.colored then "$accent" else "$overlay0";
|
||||
inner_color = "$crust";
|
||||
font_color = "$text";
|
||||
placeholder_text = "Type your password";
|
||||
placeholder_text = " Type your password";
|
||||
font_family = rice.font;
|
||||
# font_family = "monospace";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue