FIX: Renamed sb-battery

This commit is contained in:
Sam 2024-07-20 16:12:10 +01:00
parent 5e0230dcdd
commit f411adbf20
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
(writeShellScriptBin "sb-cpu-pct" ''
(writeShellScriptBin "sb-battery" ''
BAT=/sys/class/power_supply/BAT0/capacity
# Exit script if no battery detected