adding battery scripts

This commit is contained in:
Chris Cochrun 2023-12-09 06:40:11 -06:00
parent 2d22c3d19c
commit ef33b07d6a
2 changed files with 29 additions and 0 deletions

7
scripts/batmon.el Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env -S emacs -Q --script
(let ((i 0))
(while (< i 10)
(message (int-to-string i))
(setq i (+ i 1))))
(shell-command (concat "eww " "open " "battery"))