From 6f070b291f4ddb276f4adea31b0242a8176c9098 Mon Sep 17 00:00:00 2001 From: "Reid \"reidlab" Date: Wed, 4 Dec 2024 20:57:17 -0800 Subject: [PATCH] hyprlock battery --- README.md | 1 - modules/desktop/hyprlock.nix | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 6695a68..6c95fb8 100755 --- a/README.md +++ b/README.md @@ -19,5 +19,4 @@ each host should have these files: - divide steam and gamemode? - hidpi and cursor size option ? mostly auto these days though - better theming for hyprlock, rofi - - remove battery ui in hyprlock if user isnt on laptop - libinput \ No newline at end of file diff --git a/modules/desktop/hyprlock.nix b/modules/desktop/hyprlock.nix index 7f966d6..60e4373 100644 --- a/modules/desktop/hyprlock.nix +++ b/modules/desktop/hyprlock.nix @@ -83,7 +83,7 @@ in { color = "rgb(${base05})"; font_size = 14; font_family = "Font Awesome 6 Free"; - text = ""; + text = "cmd[update:4000] echo \"$(${lib.getExe pkgs.acpi} | grep -q \"Battery\" && echo \"\")\""; shadow_passes = 3; shadow_size = 8;