summaryrefslogtreecommitdiff
path: root/systray.go
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-10-15 12:10:51 -0500
committerRuben Pollan <meskio@sindominio.net>2018-10-25 13:39:27 -0500
commit3425458fa72d26501408db06a47d23542b49c982 (patch)
tree98faa9fe1103b494d0ef927d466bc3d2953d3452 /systray.go
parentc9751aa9581e3eb771f6ed2578ddf792684153f0 (diff)
[feat] store temporary icons in /var/tmp
- Resolves: #26
Diffstat (limited to 'systray.go')
-rw-r--r--systray.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/systray.go b/systray.go
index fbc89be..996c925 100644
--- a/systray.go
+++ b/systray.go
@@ -48,6 +48,7 @@ type gatewayTray struct {
}
func run(bm bitmask.Bitmask, conf *systrayConfig, notify *notificator, as autostart) {
+ os.Setenv("TMPDIR", "/var/tmp")
bt := bmTray{bm: bm, conf: conf, notify: notify, autostart: as}
systray.Run(bt.onReady, bt.onExit)
}