diff options
author | Martin Wimpress <code@flexion.org> | 2019-06-04 11:12:16 +0100 |
---|---|---|
committer | Martin Wimpress <code@flexion.org> | 2019-06-04 11:12:16 +0100 |
commit | b5a098627c338933d7ff73eab92ee75dd514ee0b (patch) | |
tree | abfe626bd456d268be9383b10be87c79eaec861c | |
parent | magnus: Bump version to 1.0.0 (diff) | |
download | magnus-b5a098627c338933d7ff73eab92ee75dd514ee0b.tar.gz magnus-b5a098627c338933d7ff73eab92ee75dd514ee0b.tar.bz2 magnus-b5a098627c338933d7ff73eab92ee75dd514ee0b.zip |
magnus: Set the process name.
-rwxr-xr-x | magnus | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |