Battery status plus5/29/2023 Percentage above which a battery is considered fullīattery-plus is released under GNU General Public License v2Ĭopyright (C) 1989, 1991 Free Software Foundation, Inc. Minimum time in seconds between notifications to prevent spam The duration, in milliseconds, for the notification to appear on screen Percentage of battery capacity to indicate an alertĪction to take when the battery level reaches critical ( none, notify)Īction to take when the battery level reaches low ( none, notify)Ī libnotify compatible program to send notifications ( notify-send, dunstify) Show the direction of change for the battery's percentage Open Power & battery settings For Battery levels, select Last 24 hours, and then select an hour of. Hide the time to charge the battery to full Battery usage Select Settings > System > Power and battery. Hide the indicator if the battery is fully-charged Use a color gradient for the battery symbol based on the % of charge Symbol to indicate battery charge is decreasing Symbol to indicate battery charge is increasing Symbol to indicate the battery state is undefined Symbol to indicate the battery state is pending Symbol to indicate the battery state is unknown Symbol to indicate the battery is discharging Symbol to indicate the battery is charging Symbol to indicate battery is fully-charged The following are configurable: VariableĬolor of the battery charge increasing indicatorĬolor of the battery charge decreasing indicator The following can be set in your nf in newer versions of i3blocks, in older versions (<= 1.4-4) you can customize using the program options. (Ubuntu's Notify OSD and GNOME Shell both ignore the expiration parameter.) Customizationĭesigned to be fully customizable. The most common are provided by notify-osd and dunst.Įxpiration time of notifications can be changed using the -e option. Any libnotify compatible notification daemon can be used for notifications by specifying it with the -n option or the NOTIFY_PROGRAM variable. If you want to monitor multiple batteries you will need to add this blocklet twice in your nf with different instance settings. Set the instance variable to your battery to monitor. #_PERCENT=% #_HIDE_IF_CHARGED=false #_USE_BATT_GRADIENT=false #_SYMBOLS_ONLY=false #_SUPPRESS_SYMBOLS=false #_HIDE_PERCENTAGE=false #_HIDE_TIME_REMAINING=true #_HIDE_TIME_TO_FULL=true #_SHOW_CHARGE_DIRECTION=true #_CAPACITY_ALERT=75 #_CRITICAL_ACTION=notify #_LOW_ACTION=notify #_NOTIFY_PROGRAM=notify-send #_NOTIFY_EXPIRES=1500 #_NOTIFY_THROTTLE=120 #_COLOR_FULLY_CHARGED= #_COLOR_CHARGING=yellow #_COLOR_DISCHARGING=yellow #_COLOR_PENDING=blue #_COLOR_ERROR=red #_COLOR_BATTERY=white #_COLOR_ALERT=orange #_COLOR_DIRECTIONAL_UP=green #_COLOR_DIRECTIONAL_DOWN=red #_COLOR_GRADIENT_START=#FF0000 #_COLOR_GRADIENT_END=#00FF00 #_SYMBOL_FULLY_CHARGED= #_SYMBOL_CHARGING= #_SYMBOL_DISCHARGING= #_SYMBOL_UNKNOWN= #_SYMBOL_PENDING= #_SYMBOL_ERROR= #_SYMBOL_ALERT= #_SYMBOL_BATT_100= #_SYMBOL_BATT_75= #_SYMBOL_BATT_50= #_SYMBOL_BATT_25= #_SYMBOL_BATT_0= #_SYMBOL_DIRECTION_UP=↑ #_SYMBOL_DIRECTION_DOWN=↓ #_HIDE_OVER_PERCENTAGE=100
0 Comments
Leave a Reply. |