From e0894ff4bc7a0742f7fffaef5d5865b1a73552e1 Mon Sep 17 00:00:00 2001 From: Mutzi Date: Sun, 5 Feb 2023 12:37:57 +0100 Subject: [PATCH] Change battery color, added show_volume setting --- awesome/theme/info/battery.lua | 2 +- awesome/theme/info/init.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/awesome/theme/info/battery.lua b/awesome/theme/info/battery.lua index d26e043..d9441fd 100644 --- a/awesome/theme/info/battery.lua +++ b/awesome/theme/info/battery.lua @@ -31,5 +31,5 @@ local bat = lain.widget.bat({ return { { widget = wibox.layout.fixed.horizontal(baticon, bat.widget), - bg = '#e54c62', + bg = '#f1af5f', } } diff --git a/awesome/theme/info/init.lua b/awesome/theme/info/init.lua index a74809a..90ccf09 100644 --- a/awesome/theme/info/init.lua +++ b/awesome/theme/info/init.lua @@ -2,11 +2,12 @@ local gears = require('gears') local settings = require('theme.settings') local show_battery = settings['show_battery'] == true +local show_volume = settings['show_volume'] == true return gears.table.join( require('theme.info.net'), show_battery and require('theme.info.battery') or {}, - require('theme.info.volume'), + show_volume and require('theme.info.volume') or {}, require('theme.info.mem'), require('theme.info.cpu'), require('theme.info.fs'),