]> gitweb.fluxo.info Git - utils-x11.git/commitdiff
Fix: xnm-tray: use QT_QPA_PLATFORMTHEME instead of XDG_CURRENT_DESKTOP
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 3 Jul 2024 14:05:00 +0000 (11:05 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 3 Jul 2024 14:05:00 +0000 (11:05 -0300)
xnm-tray

index 6eec120caf6e3f36c0fc837b19c5fad735aa13bb..42af5c9aa31ff73f18f8611855d9a0d1bb25c1ff 100755 (executable)
--- a/xnm-tray
+++ b/xnm-tray
@@ -9,7 +9,10 @@ if laptop-detect; then
     sleep 5
 
     # Then start nm-tray with a fix
-    # See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983536
-    XDG_CURRENT_DESKTOP=GNOME nm-tray
+    #
+    # Check https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications
+    #       https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983536
+    #XDG_CURRENT_DESKTOP="GNOME" nm-tray
+    QT_QPA_PLATFORMTHEME="gnome" nm-tray
   fi
 fi