我如何在全屏幕中切换真棒wm

时间:2017-02-02 20:07:25

标签: functional-programming window ubuntu-16.04

我使用了很棒的wm,我希望每个窗口都能到达我的显示器边缘,而不需要任何任务栏或标题栏。 有没有办法做到这一点? 我在ubuntu 16.04 LTS上。

1 个答案:

答案 0 :(得分:0)

是的,这应该很容易。只需添加一行

即可
fullscreen = true,

你真棒的规则。

您的规则将会是这样的:

awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
  properties = { border_width = beautiful.border_width,
                 border_color = beautiful.border_normal,
                 focus = awful.client.focus.filter,
                 fullscreen = true,
                 raise = true,
                 keys = clientkeys,
                 buttons = clientbuttons,
                 screen = awful.screen.preferred,
                 placement = awful.placement.no_overlap+awful.placement.no_offscreen
 }
},

任务栏仍然存在,但它会隐藏在全屏窗口后面。

欢呼