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
![[Image: qJkQfSb.png]](http://i.imgur.com/qJkQfSb.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
![[Image: qJkQfSb.png]](http://i.imgur.com/qJkQfSb.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.


![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
![[Image: 0op1GNe.png]](https://i.imgur.com/0op1GNe.png)
![[Image: LgJ2mtP.png]](https://i.imgur.com/LgJ2mtP.png)
![[Image: vLZcFUE.png]](https://imgur.com/vLZcFUE.png)
![[Image: lrUHro3.jpg]](https://i.imgur.com/lrUHro3.jpg)
![[Image: Y1iG2GM.png]](http://i.imgur.com/Y1iG2GM.png)
![[Image: 4a9sa8D.png]](http://i.imgur.com/4a9sa8D.png)


