Hi
Have had a darn good search on this (on interweb) but can't find a solution that works. I know this is not strictly a yad problem, but I am hoping there is expertise here to advise me.
I have a yad that needs a black background and faded orange on select of buttons.
I have successfully written the needed changes and added these to the standard gtkrc-2.0 file and it works, but affects other programs with the yad-dialog-window widget.
#makes dialog window black
style "yad-dialog-window" {
bg[NORMAL] = "#000000"
}
widget "*yad-dialog-window" style "yad-dialog-window"
#makes button surround black and red when clicked
style "yad-form-button" {
bg[NORMAL] = "#000000"
bg[PRELIGHT] = "#000000"
bg[ACTIVE] = shade(0.15,"orange")
}
widget "*yad-form-button" style "yad-form-button"
Want to only call the changes needed when I call the yad that needs the black background.
Have seen the way to do this is to use:
bash -c 'GTK2_RC_FILES=$HOME/custom.rc yad...'
but this doesn't work for me? Any help welcome :)