首页 > 解决方案 > 如何使用很棒的 wm 在私密模式下打开 chrome 窗口?

问题描述

我有下面的代码可以在正常模式下打开 Chrome,但我也想有一个私人模式的快捷方式。

awful.key({ modkey, }, "b", function () awful.spawn.with_shell("google-chrome") end, {description = "open chrome", group = "launcher"}),

提前致谢!

标签: linuxluaawesome-wm

解决方案


尝试添加-incognito

awful.key({ modkey,           }, "b", function () awful.spawn.with_shell("google-chrome -incognito") end, {description = "open chrome", group = "launcher"}),

推荐阅读