Skip to content

Commit da15351

Browse files
BachoSevenfirecat53
authored andcommitted
Fix dmenu password patch check
1 parent 30a219e commit da15351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

networkmanager_dmenu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def dmenu_cmd(num_lines, prompt="Networks", active_lines=None): # pylint: disab
8888
obscure_color = CONF.get('dmenu_passphrase', 'obscure_color', fallback='#222222')
8989
try:
9090
# Check for dmenu password patch
91-
dm_patch = b'bfivP' in sprun(["dmenu", "-h"], check=False, capture_output=True).stderr
91+
dm_patch = b'P' in sprun(["dmenu", "-h"], check=False, capture_output=True).stderr
9292
except FileNotFoundError:
9393
dm_patch = False
9494
dmenu = ["-P"] if dm_patch else ["-nb", obscure_color, "-nf", obscure_color]

0 commit comments

Comments
 (0)