From 14cdee45120df6fc6226b2ae99f4a7742503f49e Mon Sep 17 00:00:00 2001 From: 7twin <32747235+7twin@users.noreply.github.com> Date: Thu, 29 Nov 2018 20:41:10 +0000 Subject: [PATCH] Changed "fs" to "theme.fs" Restored "fs" declaration and changed "fs" to "theme.fs" instead, to prevent breaking the filestorage notification in rc.lua, while fixing the file storage widget being added. --- themes/powerarrow/theme.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/powerarrow/theme.lua b/themes/powerarrow/theme.lua index c21f8fc..15dcf55 100644 --- a/themes/powerarrow/theme.lua +++ b/themes/powerarrow/theme.lua @@ -352,7 +352,7 @@ function theme.at_screen_connect(s) pl(wibox.widget { memicon, mem.widget, layout = wibox.layout.align.horizontal }, "#777E76"), pl(wibox.widget { cpuicon, cpu.widget, layout = wibox.layout.align.horizontal }, "#4B696D"), pl(wibox.widget { tempicon, temp.widget, layout = wibox.layout.align.horizontal }, "#4B3B51"), - --pl(wibox.widget { fsicon, fs and fs.widget, layout = wibox.layout.align.horizontal }, "#CB755B"), + --pl(wibox.widget { fsicon, theme.fs and theme.fs.widget, layout = wibox.layout.align.horizontal }, "#CB755B"), pl(wibox.widget { baticon, bat.widget, layout = wibox.layout.align.horizontal }, "#8DAA9A"), pl(wibox.widget { neticon, net.widget, layout = wibox.layout.align.horizontal }, "#C0C0A2"), pl(binclock.widget, "#777E76"), @@ -371,7 +371,7 @@ function theme.at_screen_connect(s) arrow("#4B696D", "#4B3B51"), wibox.container.background(wibox.container.margin(wibox.widget { tempicon, temp.widget, layout = wibox.layout.align.horizontal }, 4, 4), "#4B3B51"), arrow("#4B3B51", "#CB755B"), - wibox.container.background(wibox.container.margin(wibox.widget { fsicon, fs and fs.widget, layout = wibox.layout.align.horizontal }, 3, 3), "#CB755B"), + wibox.container.background(wibox.container.margin(wibox.widget { fsicon, theme.fs and theme.fs.widget, layout = wibox.layout.align.horizontal }, 3, 3), "#CB755B"), arrow("#CB755B", "#8DAA9A"), wibox.container.background(wibox.container.margin(wibox.widget { baticon, bat.widget, layout = wibox.layout.align.horizontal }, 3, 3), "#8DAA9A"), arrow("#8DAA9A", "#C0C0A2"),