When I need to get productive, sometimes I disable the browser to stop myself from wasting time on the web.
I guess the larger point is that you need a desktop to run vscode or Figma, so the desktop is not dead.