tyrannical icon indicating copy to clipboard operation
tyrannical copied to clipboard

`floating`/`exclusive`/`ontop` properties are ignored

Open b0wter opened this issue 5 years ago • 4 comments

I've added the following to y rc.lua:

-- Ignore the tag "exclusive" property for the following clients (matched by classes)
tyrannical.properties.intrusive = { 
    "ksnapshot"     , "pinentry"       , "gtksu"     , "kcalc"        , "xcalc"               ,
    "feh"           , "Gradient editor", "About KDE" , "Paste Special", "Background color"    ,   
    "kcolorchooser" , "plasmoidviewer" , "Xephyr"    , "kruler"       , "plasmaengineexplorer",
    "Application Finder", "xfce4-appfinder", "mate-calc", "Calculator", "Mate-calc"
}

-- Ignore the tiled layout for the matching clients
tyrannical.properties.floating = { 
    "MPlayer"      , "pinentry"        , "ksnapshot"  , "pinentry"     , "gtksu"          ,
    "xine"         , "feh"             , "kmix"       , "kcalc"        , "xcalc"          ,
    "yakuake"      , "Select Color$"   , "kruler"     , "kcolorchooser", "Paste Special"  ,
    "New Form"     , "Insert Picture"  , "kcharselect", "mythfrontend" , "plasmoidviewer" ,
    "Application Finder", "xfce4-appfinder", "mate-calc", "Calculator", "Mate-calc"
}


-- Make the matching clients (by classes) on top of the default layout
tyrannical.properties.ontop = { 
    "Xephyr"       , "ksnapshot"       , "kruler", "Application Finder", "xfce4-appfinder", "mate-calc", "Calculator", "Mate-calc"
}

However, this does not seem to work. When I open the calculator it is still spawned on a new tag. Is there something I am doing wrong? I am running awesome wm 4.3 on Xubuntu. I've tested the class name by adding it to a tag definition and it works.

b0wter avatar Dec 28 '19 19:12 b0wter

I will need to do some testing when I get back home in 2 weeks. Tyrannical is getting a bit old. AwesomeWM changed a lot since I wrote it. There is a replacement coming, but its not there yet.

Elv13 avatar Dec 29 '19 02:12 Elv13

Thanks for the effort. It's just a minor inconvenience. I can wait for the replacement :)

b0wter avatar Dec 29 '19 14:12 b0wter

If it helps, I noticed same problem, but only after I upgraded tyrannical (pull). Commit 507131a works for me with Awesome 4.3.628.gb8c83fdf.

With newer Awesome (4.3.655.g67672bf5, didn't build any in-between versions) everything is very broken (not just the properties, windows simply appear on whichever tag I'm on, ignoring their assignments). Both 507131a and current master are broken like that with newer Awesome.

Watkurem avatar Jan 16 '20 11:01 Watkurem

local function apply_properties(c, props, callbacks)

This function is never executed since https://github.com/Elv13/tyrannical/commit/38f1f6087990d534d9ccfa02c1e5e684859fd38e I guess it's the reason «intrusive» property is ignored

liaonau avatar Feb 07 '21 13:02 liaonau