From de8c4cba336d3231f700cea4257eece2947766ae Mon Sep 17 00:00:00 2001 From: hexbioc Date: Wed, 5 Jun 2024 18:23:03 +0530 Subject: [PATCH] Add --dmenu option to wofi invocation --- networkmanager_dmenu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networkmanager_dmenu b/networkmanager_dmenu index 4eb83bd..bffcb52 100755 --- a/networkmanager_dmenu +++ b/networkmanager_dmenu @@ -96,7 +96,7 @@ def dmenu_cmd(num_lines, prompt="Networks", active_lines=None): commands = {"dmenu": ["-p", str(prompt)], "rofi": ["-dmenu", "-p", str(prompt)], "bemenu": ["-p", str(prompt)], - "wofi": ["-p", str(prompt)], + "wofi": ["--dmenu", "-p", str(prompt)], "fuzzel": ["-p", str(prompt), "--log-level", "none"]} command = shlex.split(CONF.get('dmenu', 'dmenu_command', fallback="dmenu")) cmd_base = basename(command[0])