Explorar el Código

~/.config/awesome: Don't assume that xkbswap is in path.

I need this because I am currently autostarting the X server on startup
and thus PATH is not set prior to starting awesome.
Lucas Stadler %!s(int64=13) %!d(string=hace) años
padre
commit
a745134638
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .config/awesome/rc.lua

+ 1 - 1
.config/awesome/rc.lua

@ -249,7 +249,7 @@ globalkeys = awful.util.table.join(
249 249
                  awful.util.getdir("cache") .. "/history_eval")
250 250
              end),
251 251
252
    awful.key({ modkey }, "l", function() os.execute("xkbswap") end),
252
    awful.key({ modkey }, "l", function() os.execute(os.getenv('HOME') .. "/.bin/xkbswap") end),
253 253
    awful.key({ modkey, "Shift" }, "l", function() os.execute("xlock -mode blank") end),
254 254
    awful.key({ modkey }, "b", function() awful.util.spawn("chromium --allow-file-access-from-files", false) end),
255 255
    awful.key({ modkey, "Shift" }, "b", function() awful.util.spawn("chromium --incognito --allow-file-access-from-files", false) end)