Преглед на файлове

~/.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 преди 13 години
родител
ревизия
a745134638
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      .config/awesome/rc.lua

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

249
                  awful.util.getdir("cache") .. "/history_eval")
249
                  awful.util.getdir("cache") .. "/history_eval")
250
              end),
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
    awful.key({ modkey, "Shift" }, "l", function() os.execute("xlock -mode blank") end),
253
    awful.key({ modkey, "Shift" }, "l", function() os.execute("xlock -mode blank") end),
254
    awful.key({ modkey }, "b", function() awful.util.spawn("chromium --allow-file-access-from-files", false) end),
254
    awful.key({ modkey }, "b", function() awful.util.spawn("chromium --allow-file-access-from-files", false) end),
255
    awful.key({ modkey, "Shift" }, "b", function() awful.util.spawn("chromium --incognito --allow-file-access-from-files", false) end)
255
    awful.key({ modkey, "Shift" }, "b", function() awful.util.spawn("chromium --incognito --allow-file-access-from-files", false) end)