07-24-2014, 08:49 AM
This is really interesting, if anyone wants to experiment.
I figured out how to customize whisker menu buttons.
First enable compositing, then edit .gtkrc-2.0 and add this:
#.gtkrc-2.0
#Whisker
style "darkback"
{
engine "pixmap"
{
}
image
{
function = BOX
recolorable = TRUE
state = PRELIGHT
file = "hover.png"
border = { 1, 1, 1, 1 }
stretch = FALSE
}
image
{
function = BOX
recolorable = TRUE
state = ACTIVE
file = "hover.png"
border = { 1, 1, 1, 1 }
stretch = FALSE
}
}
bg[NORMAL] = "#404040"
bg[ACTIVE] = "#606060"
bg[PRELIGHT] = "#808080"
fg[NORMAL] = "#ccc"
fg[ACTIVE] = "#fff"
fg[PRELIGHT] = "#fff"
}
widget "whiskermenu-window*" style "darkback"
#end of file
Save this image to your home folder and rename it to hover.png
log out and then back in, and see what happpens with whisker.
Next: Instead of using only one hover.png try using 2 different
For PRELIGHT use hover.png and for ACTIVE hover1.png
Adwaita gtk2 theme works great with this.
I figured out how to customize whisker menu buttons.
First enable compositing, then edit .gtkrc-2.0 and add this:
#.gtkrc-2.0
#Whisker
style "darkback"
{
engine "pixmap"
{
}
image
{
function = BOX
recolorable = TRUE
state = PRELIGHT
file = "hover.png"
border = { 1, 1, 1, 1 }
stretch = FALSE
}
image
{
function = BOX
recolorable = TRUE
state = ACTIVE
file = "hover.png"
border = { 1, 1, 1, 1 }
stretch = FALSE
}
}
bg[NORMAL] = "#404040"
bg[ACTIVE] = "#606060"
bg[PRELIGHT] = "#808080"
fg[NORMAL] = "#ccc"
fg[ACTIVE] = "#fff"
fg[PRELIGHT] = "#fff"
}
widget "whiskermenu-window*" style "darkback"
#end of file
Save this image to your home folder and rename it to hover.png
log out and then back in, and see what happpens with whisker.
Next: Instead of using only one hover.png try using 2 different
For PRELIGHT use hover.png and for ACTIVE hover1.png
Adwaita gtk2 theme works great with this.