summarylogtreecommitdiffstats
path: root/xdg_session_type.patch
blob: f1d8e5a3aa9c56dd84d2d73ab542335bb5f9ef25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/usr/bin/upwork	2018-11-08 21:07:12.000000000 +0200
+++ upwork.patched	2019-03-05 20:42:12.082295838 +0200
@@ -6,5 +6,9 @@
   export XDG_CURRENT_DESKTOP=Unity
 fi
 
+if [ $XDG_SESSION_TYPE == 'tty' ]; then
+  export XDG_SESSION_TYPE=x11
+fi
+
 cd /usr/share/upwork
 exec ./upwork "$@"