Skip to content

Instantly share code, notes, and snippets.

View GitHubIsToxic's full-sized avatar

ToxHub GitHubIsToxic

View GitHub Profile
@GitHubIsToxic
GitHubIsToxic / restartNemo.py
Created August 9, 2024 20:32
Python 3 script to restart Nemo file manager window instances (e.g. if plugins crash or if Nemo becomes sluggish)
#!/usr/bin/python3
import os
import time
import signal
import platform
import subprocess
restartDesktop = True