hyprlock fix
This commit is contained in:
parent
aabffc2a75
commit
8fb86f18f7
6 changed files with 23 additions and 37 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue