home | tech | misc | code | bookmarks (broken) | contact | README


Notion notes

Making specific windows open in specific frames

Got from the notion conf manual.

First, you have to rename the frame to a new name:

Press Mod1+F3 and type:

mod_query.query_renameframe(_)

Then, type the name of the frame. Example:

xcalc_frame

Now, in the cfg_kludges.lua (in ~/.notion/) file, include the following lines:

defwinprop{
    class = "YourWindowClass"
    role = "YourWindowRole"
    target = "xcalc_frame"
}

You can discover the class and the role of your window, right clicking in its title bar in notion, and selecting the "Window Info" item.