summaryrefslogtreecommitdiff
path: root/ni
diff options
context:
space:
mode:
authorNicolas Schodet2015-05-07 21:59:55 +0200
committerNicolas Schodet2015-05-07 22:01:36 +0200
commit3bbe7c6b3e95ca32e4bc653bb57e89b4333407b9 (patch)
tree28be288ed607c853860545a346025bcaf4828ec4 /ni
parentd9ac8e2bec2ac5107a75e18d5edb53b48bf3a31e (diff)
add battery widget
Diffstat (limited to 'ni')
-rw-r--r--ni/icons/bat.pngbin0 -> 211 bytes
-rw-r--r--ni/theme.lua8
2 files changed, 8 insertions, 0 deletions
diff --git a/ni/icons/bat.png b/ni/icons/bat.png
new file mode 100644
index 0000000..d5ea6c7
--- /dev/null
+++ b/ni/icons/bat.png
Binary files differ
diff --git a/ni/theme.lua b/ni/theme.lua
index 7f3c41a..158b5d1 100644
--- a/ni/theme.lua
+++ b/ni/theme.lua
@@ -25,6 +25,13 @@ theme.border_normal = "#000000"
theme.border_focus = "#535d6c"
theme.border_marked = "#91231c"
+theme.fg_widget = theme.fg_normal
+theme.bg_widget = theme.bg_normal
+
+theme.fg_bat_hi_widget = "green"
+theme.fg_bat_mi_widget = theme.fg_normal
+theme.fg_bat_lo_widget = "red"
+
-- There are other variable sets
-- overriding the default one when
-- defined, the sets are:
@@ -95,5 +102,6 @@ theme.awesome_icon = theme_dir .. "/icons/awesome.png"
theme.widget_sep = theme_dir .. "/icons/separator.png"
theme.widget_vol = theme_dir .. "/icons/vol.png"
+theme.widget_bat = theme_dir .. "/icons/bat.png"
return theme