aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wimpress <code@flexion.org>2019-06-04 11:12:16 +0100
committerMartin Wimpress <code@flexion.org>2019-06-04 11:12:16 +0100
commitb5a098627c338933d7ff73eab92ee75dd514ee0b (patch)
treeabfe626bd456d268be9383b10be87c79eaec861c
parentmagnus: Bump version to 1.0.0 (diff)
downloadmagnus-b5a098627c338933d7ff73eab92ee75dd514ee0b.tar.gz
magnus-b5a098627c338933d7ff73eab92ee75dd514ee0b.tar.bz2
magnus-b5a098627c338933d7ff73eab92ee75dd514ee0b.zip
magnus: Set the process name.
-rwxr-xr-xmagnus3
1 files changed, 2 insertions, 1 deletions
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)
bgstack15