2011年3月2日 星期三

Ion3 no tabbar


Put the following to ~/.ion3/cfg_ion.lua:

function toggle_tabbar(f)
  local mode = f:get_configuration('mode')['mode']
  if mode == 1 then
    f:set_mode('tiled-alt')
  else
    f:set_mode('tiled')
  end
end

defbindings("WFrame", {
    kpress(META.."Shift+Return", "toggle_tabbar(_)"),
})
Then type Alt+Shift+Return(or Win+Shift+Return) shall toggle the appearance of tab bar.

沒有留言:

張貼留言