Other PekWM shade window of double click (not working)

userxbw

Well-Known Member

Reaction score: 30
Messages: 369

I just installed this PekWM and found this sight to configure it. https://manned.org/pekwm/48e37a65
Code:
       The pekwm Mousebindings go in "~/.pekwm/mouse", and are very simple.
       They're divided up into two groups: The 'where' and 'event'. Below is
       an example file:

    
# Add configuration overrides here, it possible to add sections,
# sub-section and values overriding/adding specific values.
   FrameTitle {
               # ButtonRelease = "1" { Actions = "Raise; Focus; ActivateClient" }
               # ButtonRelease = "2" { Actions = "ActivateClient" }
               # ButtonRelease = "Mod4 3" { Actions = "Close" }
               # ButtonRelease = "3" { Actions = "ShowMenu Window" }
               # ButtonRelease = "4" { Actions = "ActivateClientRel 1" }
               # ButtonRelease = "5" { Actions = "ActivateClientRel -1" }
                DoubleClick = "2" { Actions = "Toggle Shaded" }
               # DoubleClick = "1" { Actions = "MaxFill True True" }
               # Motion = "1" { Threshold = "4"; Actions = "Move" }
               # Motion = "Mod1 1" { Threshold = "4"; Actions = "Move" }
               # Motion = "Mod4 1" { Threshold = "4"; Actions = "Move" }
               # Motion = "2" { Threshold = "4"; Actions = "GroupingDrag True" }
               # Motion = "Mod1 3" { Actions = "Resize" }
               # Enter = "Any Any" { Actions = "Focus" }
        }
 OtherTitle {
           #     ButtonRelease = "1" { Actions = "Raise; Focus; ActivateClient" }
            #    ButtonRelease = "Mod4 3" { Actions = "Close" }
                DoubleClick = "2" { Actions = "Toggle Shaded" }
             #   DoubleClick = "1" { Actions = "MaxFill True True" }
              #  Motion = "1" { Threshold = "4"; Actions = "Move" }
              #  Motion = "Mod1 1" { Threshold = "4"; Actions = "Move" }
              #  Motion = "Mod4 1" { Threshold = "4"; Actions = "Move" }
              #  Motion = "Mod1 3" { Actions = "Resize" }
              #  Enter = "Any Any" { Actions = "Focus" }
        }
adding just the shade part and reload does not seem to work (either) so I log out and in again and double click the title bar and it does not shade, instead it grows the window, maximizes it).

what gives? how to get double click to shade unshade window?
 
Top