diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/battery.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/battery.nix b/scripts/battery.nix index e75116b..e89ad46 100644 --- a/scripts/battery.nix +++ b/scripts/battery.nix | |||
@@ -1,10 +1,9 @@ | |||
1 | 1 | { pkgs, ... }: | |
2 | { pkgs, ...}: | ||
3 | 2 | ||
4 | let | 3 | let |
5 | name = "bat"; | 4 | name = "bat"; |
6 | in | 5 | in |
7 | pkgs.writeScriptBin name | 6 | pkgs.writeScriptBin name |
8 | '' | 7 | '' |
9 | red="\e[31m" | 8 | red="\e[31m" |
10 | grn="\e[32m" | 9 | grn="\e[32m" |