From b5a098627c338933d7ff73eab92ee75dd514ee0b Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Tue, 4 Jun 2019 11:12:16 +0100 Subject: magnus: Set the process name. --- magnus | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/magnus b/magnus index 4ff963c..2ea53d0 100755 --- a/magnus +++ b/magnus @@ -3,7 +3,7 @@ import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk, Gdk, GLib, GdkPixbuf, Gio -import cairo, math, json, os, codecs, time, subprocess, sys +import cairo, math, json, os, codecs, time, setproctitle, subprocess, sys from functools import lru_cache __VERSION__ = "1.0.0" @@ -246,6 +246,7 @@ class Main(object): def main(): + setproctitle.setproctitle('magnus') m = Main() m.app.run(sys.argv) -- cgit