diff --git a/batteryarc-widget/batteryarc.lua b/batteryarc-widget/batteryarc.lua index 103245a..cef1904 100644 --- a/batteryarc-widget/batteryarc.lua +++ b/batteryarc-widget/batteryarc.lua @@ -125,6 +125,7 @@ watch("acpi -i", 10, local bat_high = 75 local bat_low = 30 +-- if charge_perc <= bat_low then if charge_perc <= bat_low then batteryarc.colors = { beautiful.widget_red } if status ~= 'Charging' and os.difftime(os.time(), last_battery_check) > 300 then @@ -172,7 +173,7 @@ batteryarc:connect_signal("mouse::leave", function() naughty.destroy(notificatio --[[ Show warning notification ]] function show_battery_warning() naughty.notify { - icon = HOME .. "/.config/awesome/awesome-wm-widgets/fig/spaceman.jpg", -- new fig + icon = HOME .. "/.config/awesome/awesome-wm-widgets/batteryarc-widget/spaceman.jpg", icon_size = 100, text = "Battery is dying", -- switch text and title title = "Huston, we have a problem", diff --git a/fig/spaceman.jpg b/batteryarc-widget/spaceman.jpg similarity index 100% rename from fig/spaceman.jpg rename to batteryarc-widget/spaceman.jpg