From 2f82a22f1dc3b95104bf7edcd352e1e168c8e4db Mon Sep 17 00:00:00 2001 From: gitolite Date: Sun, 15 May 2016 15:46:50 +0200 Subject: [PATCH] make browser easier to change in pyload.lua --- pyload.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyload.lua b/pyload.lua index f27feda..2c05198 100644 --- a/pyload.lua +++ b/pyload.lua @@ -14,6 +14,7 @@ local json = require("knorke.json") local pyload = { mt = {} } local thiswidget = wibox.widget.textbox() +local browser = "firefox" -- all values in returned table are converted to string values local function update_data(args) @@ -51,7 +52,7 @@ local function update_data(args) -- open firefox with onclick thiswidget:buttons(awful.util.table.join( awful.button({ }, 1, function() - awful.util.spawn("firefox " .. baseurl) + awful.util.spawn(browser .. " " .. baseurl) end))) end