hyprlock fix

This commit is contained in:
Reid 2024-10-16 22:27:00 -07:00
parent aabffc2a75
commit 8fb86f18f7
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
6 changed files with 23 additions and 37 deletions

View file

@ -25,7 +25,7 @@ in {
hide_cursor = false;
no_fade_in = true;
no_fade_out = true;
text_trim = false;
text_trim = true;
};
background = [
{
@ -90,7 +90,7 @@ in {
color = "rgb(${base05})";
font_size = 14;
font_family = config.modules.desktop.fonts.fonts.sansSerif.family;
text = "cmd[update:4000] echo \"<span font_weight='600'>$(cat /sys/class/power_supply/BAT0/capacity)%</span>\"";
text = "cmd[update:4000] echo \"<b>$(${lib.getExe pkgs.acpi} -b | grep -oP \"\\d+%\" | head -n 1)</b>\"";
shadow_passes = 3;
shadow_size = 8;