Re: Dark theme



On 01/24/2018 12:24 AM, david kerns wrote:
change "$1 $2" in your script to $* ... give meld all the arguments

Actually, best to change it to "$@" (to handle arguments with possible spaces etc). Also, best to make the script a generic name such as gnome-dark and place it in your personal path, e.g. create ~/bin/gnome-dark:

#!/bin/bash
GTK_THEME=Adwaita:dark exec /usr/bin/$(basename $0) "$@"

Then symlink it to ~/bin/meld. This was you can symlink it to other apps for which you also prefer in dark theme.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]