2011-09-10

awesome size hints honor

awesome 小ネタ。

ターミナルとかウィンドウのサイズ調整が細かくないと、タイルで並べたときに微妙な隙間ができて気持ち悪い。

awesome window manager screen shot: size hints honor true

そんなときは、プロパティに size_hints_honor = false と書いておくと隙間なく並ぶ。ただ隙間がウィンドウ外からウィンドウ内に移動しただけなので、どっちが良いかはお好みで。

awesome window manager screen shot: size hints honor false

設定は、 ~/.config/awesome/rc.lua のRulesのところを修正する。

-- {{{ Rules awful.rules.rules = { -- All clients will match this rule. { rule = { }, properties = { border_width = beautiful.border_width, border_color = beautiful.border_normal, focus = true, keys = clientkeys, buttons = clientbuttons, size_hints_honor = false } },

0 件のコメント: