I'm in the process of creating a widget which displays the currently connected netctl profile, though I'm not quite sure how to access the active profile without using a bash script. I've tried creating the named pipe /tmp/netctl.fifo containing the profile name in a script located at /etc/netctl/hooks (which runs all executable files after any profile is read), though it seems that the script is run before the new profile is activated. Any advice would be appreciated.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
I'm in the process of creating a widget which displays the currently connected netctl profile, though I'm not quite sure how to access the active profile without using a bash script. I've tried creating the named pipe
/tmp/netctl.fifocontaining the profile name in a script located at/etc/netctl/hooks(which runs all executable files after any profile is read), though it seems that the script is run before the new profile is activated. Any advice would be appreciated.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.