You are not logged in.

#1 2007-01-06 22:06:34

Crooksey
Member
From: UK ~
Registered: 2006-08-14
Posts: 415
Website

[solved]Changing my Openbox3 menu

Im loving my openbox theme right now, but i would like to change the menu, at present It has a black header, the rest of the menu is light grey, then when they are highlighted its a dark grey color, so my question?

How can i make my menu all jet black, then just white when a certain area is highlighted, my current themerc file is:

!! Lime by mBlack
!! More themes ...
!! Menu settings

menu.title.bg: flat
menu.title.bg.color: #333333
menu.title.text.color: #f6f6f6
menu.title.text.justify: center 

menu.items.bg: flat solid
menu.items.bg.color: #f7f6f0
menu.items.bg.border.color: #5d5d5d
menu.items.text.color: #0d0d0d
menu.items.justify: left

menu.items.disabled.text.color: #d7d7d7
menu.bullet.image.color: #000000
menu.bullet.selected.image.color: #d5d0be

menu.items.active.bg: flat
menu.items.active.bg.color: #d5d0be
menu.items.active.text.color: #505050

!! General window settings
window.label.text.justify: left 

!! focused window settings
window.active.client.color: #909498

window.active.title.bg: focus: flat
window.active.title.bg.color: #333333
window.active.title.bg.border.color: #5d5d5d

window.active.handle.bg: flat
window.active.handle.bg.color: #5d5d5d

window.active.grip.bg: flat
window.active.grip.bg.color: #5d5d5d

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

window.active.button.unpressed.bg: flat
window.active.button.unpressed.bg.color: #333333
window.active.button.unpressed.image.color: #f6f6f6

window.active.button.pressed.bg: flat
window.active.button.pressed.bg.color: #333333
window.active.button.pressed.image.color: #c6c6c6

!! unfocused window settings
window.inactive.client.color: #404850

window.inactive.title.bg: flat
window.inactive.title.bg.color: #414141

window.inactive.handle.bg: flat
window.inactive.handle.bg.color: #5d5d5d

window.inactive.grip.bg: flat
window.inactive.grip.bg.color: #5d5d5d

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

window.inactive.button.unpressed.bg: flat 
window.inactive.button.unpressed.bg.color: #414141
window.inactive.button.unpressed.image.color: #d0d0d0

window.inactive.button.pressed.bg: flat
window.inactive.button.pressed.bg.color: #414141
window.inactive.button.pressed.image.color: #c6c6c6

!#buttons new
window.active.button.disabled.bg: flat
window.active.button.disabled.bg.color: #333333
window.active.button.disabled.image.color: #333333

window.inactive.button.disabled.bg: flat
window.inactive.button.disabled.bg.color: #414141
window.inactive.button.disabled.image.color: #414141

window.active.button.toggled.bg: flat
window.active.button.toggled.bg.color: #333333
window.active.button.toggled.image.color: #f6f6f6

window.inactive.button.toggled.bg: flat
window.inactive.button.toggled.bg.color: #414141
window.inactive.button.toggled.image.color: #414141

!! Global width settings
borderWidth: 1
padding.width: 1
window.handle.width: 0
window.client.padding.width: 0

!! Miscellaneous settings
border.color: #6a6a6a

!! font me!
window.active.label.text.font: Bitstream Vera Sans:bold:pixelsize=11:shadow=n
window.inactive.label.text.font: Bitstream Vera Sans:bold:pixelsize=11:shadow=n
menu.items.font:  Bitstream Vera Sans:pixelsize=11
menu.title.text.font: Bitstream Vera Sans:bold:pixelsize=11:shadow=n

Is is fairly easy to change?


Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)

Offline

#2 2007-01-07 02:33:18

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: [solved]Changing my Openbox3 menu

Editing the lines that begin with "menu." should be the right start. (;

You may want something like this:

!! Lime by mBlack
!! More themes ...
!! Menu settings

menu.title.bg: flat
menu.title.bg.color: #000000
menu.title.text.color: #ffffff
menu.title.text.justify: center 

menu.items.bg: flat solid
menu.items.bg.color: #000000
menu.items.bg.border.color: #aaaaaa
menu.items.text.color: #ffffff
menu.items.justify: left

menu.items.disabled.text.color: #000000
menu.bullet.image.color: #aaaaaa
menu.bullet.selected.image.color: #aaaaaa

menu.items.active.bg: flat
menu.items.active.bg.color: #ffffff
menu.items.active.text.color: #000000

Well... changing the colors should be fairly easy. Or did I misunderstand you?

It should be enough if you reload your openbox configuration. If I remember correctly it's called "Reconfigure" in openbox menu.


Hail to the thief!

Offline

#3 2007-01-07 08:39:35

Crooksey
Member
From: UK ~
Registered: 2006-08-14
Posts: 415
Website

Re: [solved]Changing my Openbox3 menu

Thanks, thats brilliant!


Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)

Offline

Board footer

Powered by FluxBB