I'm new to awesome wm and I would like to set a shortcut that brings me back to the previous window (in history) no matter if it's on the current tag, another tag or even on another screen (like Alt+Tab in Gnome or Windows).
By default, there is Super+Tab for going back but only on the same tag.
And there is Super+Esc for going back to the previously active tag.
If there is no function for going to the previous window (globally), could I write my own in rc.lua (if I knew Lua)?