From e3a9d6ac4957f0669ba7b39762d1e74e909d5413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sun, 13 Jul 2025 22:54:53 +0200 Subject: [PATCH] xmobar: fuse battery format --- nix/configurations/vanadium/home/xmobar.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nix/configurations/vanadium/home/xmobar.nix b/nix/configurations/vanadium/home/xmobar.nix index 8c908ade..cb168856 100644 --- a/nix/configurations/vanadium/home/xmobar.nix +++ b/nix/configurations/vanadium/home/xmobar.nix @@ -13,7 +13,7 @@ , position = BottomH 30 , commands = [ Run Date "%a %d %H:%M:%S" "date" 10 , Run Battery - [ "-t", " ()" + [ "-t", " (" , "-H", "70" , "-L", "20" , "-h", "green" @@ -24,7 +24,8 @@ , "-A", "20" , "-a", "notify-send -u critical \"Battery Low\" \"Please charge your battery\"" ] - 600 + 60 + , Run Com "powerprofilesctl" [ "get" ] "" 60 , Run XMonadLog , Run DynNetwork @@ -51,11 +52,10 @@ , "--low", "blue" ] 9000 - , Run Com "powerprofilesctl" [ "get" ] "" 60 ] , sepChar = "%" , alignSep = "}{" - , template = " %XMonadLog% }{ %dynnetwork% | %LFRN% | %battery% %powerprofilesctl% | %date% " + , template = " %XMonadLog% }{ %dynnetwork% | %LFRN% | %battery%, %powerprofilesctl%) | %date% " } ''; };