Fixes, Improvements & Formatting
Hey, I made some modifications to the script to fix some "bugs" and modify some behaviour.
Remove More Options
This way all the subcommands of more options are directly searchable and one does not need to go through an extra menu to, for example, activate a VPN connection.
Update configuration place & order
Updated the configuration parsing order to check for configuration in
- ~/.config/rofi-network-manager/*
- ~/.config/rofi/rofi-network-manager.*
- $SCRIPT_DIR/*
In the stated order. The reason is that user configuration should take precedence over the default configuration and moving the configuration to a specific directory is to avoid any potential conflict with rofi configurations.
Clicking on the column header SSID SECURITY does not close the program
rofi-network-manager restarts when the column header is clicked instead of closing.
Format & spread out code
I found that some lines where very long and/or hard to read, so I split them and applied shfmt to the entire file.