From 1ad2a58aac34b9bcae9c48332bbf0ef65cd0ed9b Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 21 Jun 2019 16:11:00 +0000 Subject: [PATCH] [awesome] name imported gears.table gtable to avoid name collision --- home/.config/awesome/widgets.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home/.config/awesome/widgets.lua b/home/.config/awesome/widgets.lua index 35545b3..ce81e0a 100644 --- a/home/.config/awesome/widgets.lua +++ b/home/.config/awesome/widgets.lua @@ -1,6 +1,6 @@ local awful = require("awful") local wibox = require("wibox") -local table = require("gears.table") +local gtable = require("gears.table") local lain = require("lain") local helpers = require("lain.helpers") @@ -125,7 +125,7 @@ widgets.bluetooth.toggle = function() end widgets.bluetooth:buttons( - table.join( + gtable.join( awful.button({ }, 1, widgets.bluetooth.toggle), awful.button({ }, 3, function() awful.spawn.with_shell("blueman-manager; pkill blueman-applet") @@ -158,7 +158,7 @@ widgets.redshift.toggle = function() end widgets.redshift:buttons( - table.join( + gtable.join( awful.button({ }, 1, widgets.redshift.toggle) ) ) @@ -173,7 +173,7 @@ end) widgets.tearstop.pid = nil widgets.tearstop:buttons( - table.join( + gtable.join( awful.button({ }, 1, function() if widgets.tearstop.pid == nil then widgets.tearstop.pid = awful.spawn.spawn({ "compton", "--backend=glx" })