Просмотр исходного кода

~/.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
Родитель
Сommit
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)