Trigger browser reload in Enlightenment

So Enlightenment has changed it's focus model recently which required me to modify my browser reload script... so I did. It now relies on "mouse over" focus to force the window to get focus and then reloads... in other words don't just mouse click focus.

To execute just run the following

$ browserReload yourbrowser


You can omit the yourbrowser argument in which case it'll use "Vivaldi"... to change that simply change the following line the script:

BROWSER="vivaldi"


If you want to trigger it from Vim you can add the following in your .vimrc:

function BrowserReload()
  exec "silent! !browserReload"
  redraw!
endfunction

map <F5> :call BrowserReload()<CR>


XHTML 1.1 valid CSS 3.0 valid JavaScript 1.6 valid Vivaldi valid Os-linux valid Ws-apache valid Php valid Jas valid