diff options
author | Jean-Marc Lenoir | 2018-05-01 20:38:02 +0200 |
---|---|---|
committer | Jean-Marc Lenoir | 2018-05-01 20:38:02 +0200 |
commit | 586a18a2437249a9a57a93341cef5909ac2ab48c (patch) | |
tree | 3acec87447286ecd49fd0018fb12c26aaa194735 /vmware-environment.sh | |
parent | 16aa2de6990ea7a415c5c98d30ae6419628ec13e (diff) | |
download | aur-586a18a2437249a9a57a93341cef5909ac2ab48c.tar.gz |
Workaround to use the GTK theme
Diffstat (limited to 'vmware-environment.sh')
-rw-r--r-- | vmware-environment.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/vmware-environment.sh b/vmware-environment.sh index a6f550a61a10..c1d07c3aab88 100644 --- a/vmware-environment.sh +++ b/vmware-environment.sh @@ -1,9 +1,10 @@ # Uncomment the line below if you have a problem of incompatible libraries #export VMWARE_USE_SHIPPED_LIBS=yes -# Uncomment and fill the line below to change GTK theme -#export GTK_THEME="" - - # Avoid an issue with some keyboard layouts using iBus export GTK_IM_MODULE_FILE=/dev/null + +# Workaround to use the GTK theme +if [ -z $GTK_THEME ]; then + export GTK_THEME=$(gtk-query-settings gtk-theme-name | cut -d '"' -f2) +fi |