Sfoglia il codice sorgente

~/.config/awesome/rc.lua: Start chromium with --allow-file-access-from-files.

It's useful for developing locally without a server.
Lucas Stadler 13 anni fa
parent
commit
3b21c1911d
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      .config/awesome/rc.lua

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

@ -251,8 +251,8 @@ globalkeys = awful.util.table.join(
251 251
252 252
    awful.key({ modkey }, "l", function() os.execute("xkbswap") end),
253 253
    awful.key({ modkey, "Shift" }, "l", function() os.execute("xlock -mode blank") end),
254
    awful.key({ modkey }, "b", function() awful.util.spawn("chromium", false) end),
255
    awful.key({ modkey, "Shift" }, "b", function() awful.util.spawn("chromium --incognito", 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)
256 256
)
257 257
258 258
clientkeys = awful.util.table.join(