Commit d339647a authored by Matti Hyttinen's avatar Matti Hyttinen
Browse files

Remove nightshellswhitcher

parent 9a8495d0
......@@ -811,11 +811,9 @@ class LayoutBox(Gtk.Box):
def on_dark_activated(self, switch, gparam):
if switch.get_active():
state = "on"
subprocess.run("gnome-extensions enable nightshellswitcher@romainvigier.fr", shell=True)
subprocess.run("gnome-extensions enable nightthemeswitcher@romainvigier.fr", shell=True)
else:
state = "off"
subprocess.run("gnome-extensions disable nightshellswitcher@romainvigier.fr", shell=True)
subprocess.run("gnome-extensions disable nightthemeswitcher@romainvigier.fr", shell=True)
print("Automatic dark theme was turned", state)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment