From 79adbd54833aa10013ace5af91e815340433ca02 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 18 Oct 2016 10:51:26 +0530 Subject: [PATCH] Awesome: Simplify filebrowser call --- .config/awesome/rc.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 1949af67..3b4e9862 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -261,9 +261,9 @@ globalkeys = awful.util.table.join( awful.key({ modkey, }, "e", function () awful.util.spawn(os.getenv("EDITOR")) end), -- File browser - awful.key({ modkey, }, "d", function () awful.util.spawn("sh -c 'export SHELL_FILEBROWSER=true; exec " .. termcmd .. "'") end), - awful.key({ }, "XF86Explorer", function () awful.util.spawn("sh -c 'export SHELL_FILEBROWSER=true; exec " .. termcmd .. "'") end), - awful.key({ }, "XF86MyComputer", function () awful.util.spawn("sh -c 'export SHELL_FILEBROWSER=true; exec " .. termcmd .. "'") end), + awful.key({ modkey, }, "d", function () awful.util.spawn("env SHELL_FILEBROWSER=true " .. termcmd) end), + awful.key({ }, "XF86Explorer", function () awful.util.spawn("env SHELL_FILEBROWSER=true " .. termcmd) end), + awful.key({ }, "XF86MyComputer", function () awful.util.spawn("env SHELL_FILEBROWSER=true " .. termcmd) end), -- Screen lock. xlockmore is useful for LDAP login because slock does not work with it. -- Don't use 'spawn_with_shell' if you want to keep Awesome's config portable. @@ -521,7 +521,7 @@ awful.rules.rules = { properties = { tag = tags[1][6] } }, { rule = { name = "mutt" }, properties = { tag = tags[1][7] } }, - + -- { rule = { class = "Gimp" }, -- properties = { floating = false } },