Two shell scripts to bookmark and restore bookmarks for windows. Based on exact window id's.
You then use these in your desktop environment's global keybindings. For example I have bound:
- Alt-Super-1 to "bookmark-window-as 1"
- Super-1 to "bookmark-activate-window 1" And so on for all digits. You could also use letters or whatever you want.
Note that if you don't want bookmarking and instead just want Super-F to always bring up your Firefox window, you want to do things like directly invoke "xdotool search --class firefox windowactivate" (which is literally an example I just ripped from "man xdotool").