You are not logged in.

#1 2008-09-01 13:30:20

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Specific question about openbox theming

If you happen to have the theme Natura installed, change to it right now.

When you hover the mouse over the window buttons, they grow slightly. Then they shrink when you click or if you move off of them.

This is a pleasant effect, but how do you make that happen?? Here is the themerc:

!! Natura by quandar (http://deletefactory.net/quandar)

!! Global Width
window.handle.width: 2

window.client.padding.width: 0
window.client.padding.height: 0
border.Width: 1
padding.width: 2

window.active.border.color: #000000
window.inactive.border.color: #000000
menu.border.color: #000000
menu.overlap: 0
window.frameColor: #eeeeee
window.*.client.color: #eeeeee
*.text.justify: center

!! Menu
menu.title.bg: flat gradient split
menu.title.bg.color: #5c4e45
menu.title.bg.colorTo: #51443e
menu.title.text.color: #ffffff

menu.items.bg: flat solid
menu.items.bg.color: #f9f2ee

menu.items.text.color: #000000
menu.items.disabled.text.color: #737573

menu.items.active.bg: flat gradient split
menu.items.active.bg.color:  #5c4e45
menu.items.active.bg.colorTo:#51443e
menu.items.active.text.color: #f9f2ee

!! Active Windows
window.active.title.bg: flat gradient split
window.active.title.bg.color: #5c4e45
window.active.title.bg.colorTo: #51443e
window.active.*.bg.border.color: #000000

window.active.label.bg: parentrelative
window.active.label.text.color: #f9f2ee

window.active.button.*.bg: parentrelative
window.active.button.*.image.color: #f9f2ee
window.active.button.*.bg.border.color: #4e5860

window.active.button.hover.bg.color: #576773
window.active.button.hover.bg.border.color: #9aabb9
window.active.button.pressed.bg.color: #343b40
window.active.button.pressed.bg.colorTo: #000000
window.active.button.pressed.image.color: #b6b6b6
window.active.button.pressed.bg.border.color: #b1a19e

window.active.button.disabled.bg: parentrelative
window.active.button.disabled.image.color: #725e51

window.active.handle.bg:  flat solid
window.active.handle.bg.color:#51443e

window.*.grip.bg:  flat solid 
window.*.grip.bg.color: #51443e

window.handle.width: 2

!! Inactive Windows
window.inactive.title.bg: flat gradient vertical
window.inactive.title.bg.color: #f0ece3
window.inactive.title.bg.colorTo: #f8f7f2
window.inactive.*.border.color: #bfbfbf

window.inactive.label.bg: parentrelative
window.inactive.label.text.color: #919191

window.inactive.button.*.bg: parentrelative
window.inactive.button.*.bg.color: #eeeeee
window.inactive.button.*.image.color:  #b6b6b6
window.inactive.button.*.bg.border.color: #c9c9c9

window.inactive.button.pressed.bg.color: #c5c2c5
window.inactive.button.pressed.bg.border.color: #7b7d7b
window.inactive.button.pressed.image.color: #999999

window.inactive.button.hover.bg.color: #afb1b2
window.inactive.button.hover.bg.border.color: #d9dfe4
window.inactive.button.hover.image.color: #a0a0a0
window.inactive.button.disabled.bg: parentrelative
window.inactive.button.disabled.image.color: #dddddd

window.inactive.handle.bg: flat solid
window.inactive.handle.bg.color: #f9f7f3
window.inactive.grip.bg:  parentrelative

!! Fonts
window.active.label.text.font: shadow=y:shadowoffset=1:shadowtint=75
window.inactive.label.text.font: shadow=y:shadowoffset=1:shadowtint=0
menu.items.font: 
menu.title.text.font: shadow=y:shadowoffset=1:shadowtint=75

Offline

#2 2008-09-01 13:48:16

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Specific question about openbox theming

Hi,

I can't answer your question but maybe you'll find a solution here:

http://icculus.org/openbox/index.php/Help:Themes

I think it has to be in part 5.

Last edited by Barghest (2008-09-01 13:48:38)

Offline

#3 2008-09-01 19:04:26

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: Specific question about openbox theming

It's not in the themerc:

$ ls /usr/share/themes/Natura/openbox-3 
close.xbm        desk_hover.xbm    iconify_hover.xbm  max_toggled.xbm  themerc
close_hover.xbm  desk_toggled.xbm  max.xbm            shade.xbm
desk.xbm         iconify.xbm       max_hover.xbm      shade_hover.xbm

It uses different pixmaps for the hovered images.

I have to say, I didn't know this was possible until I looked into it just now. smile


0 Ok, 0:1

Offline

#4 2008-09-12 14:59:25

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Specific question about openbox theming

I'm using Natura as well, it's simply a brilliant theme.

Just wondering, though, where did you get it's (and all the other default theme) themerc file? I want to change it a bit to my liking.

Offline

#5 2008-09-12 15:28:20

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Specific question about openbox theming

Any theme you install via pacman/yaourt should be in /usr/share/themes.

So Natura's themerc would be /usr/share/themes/Natura/openbox/themerc, off the top of my head.

Offline

#6 2008-09-12 15:35:45

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Specific question about openbox theming

zephyrus17 wrote:

I'm using Natura as well, it's simply a brilliant theme.

Just wondering, though, where did you get it's (and all the other default theme) themerc file? I want to change it a bit to my liking.

All gtk/openbox themes are located in one of two places:

~/.themes/THEMENAME
/usr/share/themes/THEMENAME

The themerc files are located within the THEMENAME directories.


thayer williams ~ cinderwick.ca

Offline

#7 2008-09-13 01:35:56

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Specific question about openbox theming

Oh! Found it. Thanks!

Offline

Board footer

Powered by FluxBB