From 7f27d20c37474bd9d29c7545b88aa560b6195d59 Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Sat, 5 Apr 2025 22:04:16 +0200 Subject: [PATCH] small fixes --- modules/wm/hyprland/config/eww/eww_widgets.yuck | 2 +- modules/wm/hyprland/config/eww/images/battery.svg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/wm/hyprland/config/eww/eww_widgets.yuck b/modules/wm/hyprland/config/eww/eww_widgets.yuck index c1b06fa..5056378 100644 --- a/modules/wm/hyprland/config/eww/eww_widgets.yuck +++ b/modules/wm/hyprland/config/eww/eww_widgets.yuck @@ -44,7 +44,7 @@ (box :space-evenly false (image :path "images/cpu.svg")(metric :label "" :value {EWW_CPU.avg}) ) (box :space-evenly false (image :path "images/ram.svg")(metric :label "" :value {EWW_RAM.used_mem_perc}) ) (box :space-evenly false (image :path "images/disk.svg")(metric :label "" :value {EWW_DISK["/"].used_perc}) ) - (box :space-evenly false :visible { hostname == "luna" } (image :path { EWW_BATTERY.BAT1.status == "Discharging" ? "images/battery.svg" : "images/charging.svg" })(metric :label "" :value {EWW_CPU.avg}) ) + (box :space-evenly false :visible { hostname == "luna" } (image :path { EWW_BATTERY.BAT1.status == "Discharging" ? "images/battery.svg" : "images/charging.svg" })(metric :label "" :value {EWW_BATTERY.BAT1.capacity}) ) (box :space-evenly false :visible { hostname == "terra" } (image :path "images/gpu.svg")(metric :label "" :value gpu_load) ) ) ) diff --git a/modules/wm/hyprland/config/eww/images/battery.svg b/modules/wm/hyprland/config/eww/images/battery.svg index 57ef09f..db58a40 100644 --- a/modules/wm/hyprland/config/eww/images/battery.svg +++ b/modules/wm/hyprland/config/eww/images/battery.svg @@ -1,7 +1,7 @@ - + - \ No newline at end of file +