Skip to content

Commit a2fdbfe

Browse files
committed
Allow the user to set the GTK theme from enironment variable
1 parent a970602 commit a2fdbfe

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

osx/Meld

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#!/bin/sh
22

3-
export GTK_THEME=Adwaita
4-
#export GTK_THEME=Adwaita:dark
5-
63
EXEC="exec"
74

85
name="`basename $0`"
@@ -87,4 +84,9 @@ if [ "x`echo "x$1" | sed -e "s/^x-psn_.*//"`" == "x" ]; then
8784
shift 1
8885
fi
8986

87+
if test "$GTK_THEME" == ""; then
88+
export GTK_THEME="Adwaita"
89+
#export GTK_THEME=Adwaita:dark
90+
fi
91+
9092
$EXEC "$bundle_contents/MacOS/Meld-bin" "$@"

0 commit comments

Comments
 (0)