index.md - sites - public wiki contents of suckless.org
 (HTM) git clone git://git.suckless.org/sites
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       index.md (818B)
       ---
            1 battery notify
            2 ==============
            3 
            4 Description
            5 -----------
            6 This diff adds a battery notifications for specific levels you defined to slstatus.
            7 It sends notification using "notify-send" command.
            8 In config.h file there is array called "notifiable_levels" add any levels you want.
            9 
           10 #### Important
           11 * "libnotify" is required to be installed.
           12 * Add ({battery_notify, "", "BAT1"},) to config file in args array - replace BAT1
           13 with your battery name.
           14 * FreeBSD and OpenBSD are not supported.
           15 
           16 Download
           17 --------
           18 * [slstatus-battery-notify-20250801-da6ca32.diff](slstatus-battery-notify-20250801-da6ca32.diff)
           19 * [slstatus-battery-notify-20240127-a56a0a5.diff](slstatus-battery-notify-20240127-a56a0a5.diff)
           20 
           21 Authors
           22 -------
           23 * keroles [github](https://github.com/keroles-ashraf-dev)
           24 * El Bachir - <bachiralfa@gmail.com> (2025-08-01)