Skip to content

Remove '-L' option from wofi command #146

@ndcontini

Description

@ndcontini

In menu.py, -L is used to specify the height of the menu. However, this interferes with the user's wofi settings. For example, I have set wofi to spawn on the left side of the screen with the height of the entire screen. The -L overrides the height setting I've made and instead makes wofi spawn at approximately a third of the height of the entire screen. I'm not entirely certain how useful it is to specify this parameter by default; in my mind it should be up to the user to configure wofi how they would like or wrap keepmenu appropriately if they want a keepmenu specific configuration. Right now I have to work around this by editing menu.py, but it'd be nice if the parameter was removed upstream or at least a user options to control this behavior was added.

Note: I'm not sure how this is affects other menus like rofi and what not.

https://github.com/firecat53/keepmenu/blob/14b27829a2a3259fe826c4cead44bc2f8be4684e/keepmenu/menu.py#L20C1-L36C19

To reproduce:

  1. edit $XDG_CONFIG_HOME/.config/wofi/config and add the option height=100%, or any user specified height really.
  2. run keepmenu. You'll see that this setting is not kept, despite other wofi instantiations working correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions