diff --git a/awesome/.config/awesome/keys-config.lua b/awesome/.config/awesome/keys-config.lua index 2bc1696..228a9e4 100644 --- a/awesome/.config/awesome/keys-config.lua +++ b/awesome/.config/awesome/keys-config.lua @@ -721,7 +721,7 @@ function hotkeys:init(args) }, --application hotkeys (logitech keyboard g710+) { - { }, "XF86LaunchA", function () awful.spawn(terminal) end, + { }, "XF86LaunchA", function () awful.spawn(env.terminal) end, {description = "open a terminal", group = "launcher"} }, { diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index f442f46..d76dfd8 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -30,7 +30,7 @@ require("hotkeys_popup.termite") require("ercheck-config") -- load file with error handling env=require("env-config") -env:init() +env:init({sloppy_focus=true}) -- This is used later as the default terminal and editor to run. awful.util.terminal = env.terminal @@ -210,20 +210,7 @@ local mpd = lain.widget.mpd({ end }) -local baticon = wibox.widget.imagebox(beautiful.widget_batt) -local bat = lain.widget.bat({ - settings = function() - local perc = bat_now.perc ~= "N/A" and bat_now.perc .. "%" or bat_now.perc - if bat_now.status then - perc = perc .. " " .. bat_now.status - else - return - end - - widget:set_markup(markup.fontfg(beautiful.font, beautiful.fg_normal, perc .. " ")) - end -})