This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# this used to live at https://gitlab.gnome.org/snippets/814 | |
# but has since been deleted, the original author is unknown | |
# reuploading here for safe keeping | |
import dbus | |
import secrets | |
import re |