firecat53 / networkmanager-dmenu

Control NetworkManager via dmenu
MIT License
783 stars 74 forks source link

Make dmenu and pinentry formats configurable #122

Closed t-troebst closed 1 year ago

t-troebst commented 1 year ago

This PR allows the user to set the format of the dmenu entry as well as the description and prompt of the pin entry via the config. That should close #62. The dmenu format has placeholders for the name, the security type, and three different ways of showing signal strength: percentage, bars (current default), and icon. For example, the setting

format = {name} ({sec}) {signal}%% {icon}

produces the following output (with the appropriate setting of wifi_icons):

20230612_01h07m25s_grim

(yes, I'm at the airport right now...)

firecat53 commented 1 year ago

Thanks very much!