scripts

Various scripts for UNIX-like systems
git clone https://git.tronto.net/scripts
Download | Log | Files | Refs | README

notify-battery (185B)


      1 #!/bin/sh
      2 
      3 # Popup battery notification, based on the script battery-status
      4 
      5 # Requires: notify-send or similar
      6 
      7 #notify=notify-send
      8 notify=herbe
      9 
     10 $notify "Battery" "$(battery-status)"