You are not logged in.

#1 2025-09-08 16:02:42

s0la
Member
Registered: 2025-06-29
Posts: 7

[SOLVED] Border under titlebar

Hey guys!

I've been digging through some old Openbox scrots, and came across one of my favorite I bookmarked way back, here's the link:

https://www.reddit.com/r/unixporn/comme … u_p_tint2/

Now, I've been using Openbox for a while, and I believe I'm familiar with most of its capabilities, but I saw something I still didn't manage to reproduce.. On this particular screenshot, there is a tiny (1px) line border under the title bar, which has different color on active (lighter grey) and inactive windows (same color as the border around window).. It's pretty simple to set different border colors for active/inactive windows, but I'm not aware how to change just that particular part of the border (line under the titlebar).. I'm also familiar with "client" borders, which can be set horizontally or/and vertically, and handle part at the bottom, but I still wasn't able to figure out how to theme/color that specific part of the border (only the line under the titlebar)..

Also, I'm aware that the scrot in question dates from 9 years ago, so in the meantime that option might simply got removed from Openbox.. I'm hoping some of the OG Openbox users could elaborate on that, or if that option is still available, point me in the right direction smile

Thanks!

Last edited by hhh (2025-09-09 19:54:38)

Offline

#2 2025-09-08 16:16:43

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,084
Website

Re: [SOLVED] Border under titlebar

I think that is border_sides, which takes LRTB (left, right, top, bottom) as options. The scrot seems to have border_sides=B.

https://gitlab.com/o9000/tint2/blob/mas … nd-borders

Last edited by Head_on_a_Stick (2025-09-08 16:17:19)

Offline

#3 2025-09-08 16:18:32

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,744

Re: [SOLVED] Border under titlebar

Maybe:

window.active.title.separator.color: #1c2023
window.inactive.title.separator.color: #1c2023

?

Online

#4 2025-09-08 16:30:36

s0la
Member
Registered: 2025-06-29
Posts: 7

Re: [SOLVED] Border under titlebar

brontosaurusrex wrote:

Maybe:

window.active.title.separator.color: #1c2023
window.inactive.title.separator.color: #1c2023

?

Damn, that was fast big_smile
Thanks, that's exactly it.. For some reason separator was commented out in my themerc, must be from my previous experiments..
Thanks for your help, mate! Appreciate it smile

Offline

#5 2025-09-09 19:53:52

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,072
Website

Re: [SOLVED] Border under titlebar

Nice work @bronto, I didn't even get to look at it. Marking [SOLVED].


I don't care what you do at home. Would you care to explain?

Offline

#6 2025-09-09 21:07:29

s0la
Member
Registered: 2025-06-29
Posts: 7

Re: [SOLVED] Border under titlebar

hhh wrote:

Nice work @bronto, I didn't even get to look at it. Marking [SOLVED].

Thanks! I tried to do it myself, I wasn't able to find the option.. Would you mind letting me know how to "mark as solved"?

Offline

#7 2025-09-09 22:47:52

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,629

Re: [SOLVED] Border under titlebar

s0la wrote:
hhh wrote:

Nice work @bronto, I didn't even get to look at it. Marking [SOLVED].

Thanks! I tried to do it myself, I wasn't able to find the option.. Would you mind letting me know how to "mark as solved"?

Edit your original post and add [SOLVED] to the sublect line.


You must unlearn what you have learned.
    -- yoda

Offline

#8 2025-09-09 22:52:43

s0la
Member
Registered: 2025-06-29
Posts: 7

Re: [SOLVED] Border under titlebar

PackRat wrote:
s0la wrote:
hhh wrote:

Nice work @bronto, I didn't even get to look at it. Marking [SOLVED].

Thanks! I tried to do it myself, I wasn't able to find the option.. Would you mind letting me know how to "mark as solved"?

Edit your original post and add [SOLVED] to the sublect line.

Oh, okay.. I was looking for "edit" button related to title itself, didn't know title is actually a part of the original post.. Now I know, thanks! smile

Last edited by s0la (2025-09-09 22:52:55)

Offline

#9 2025-09-10 05:23:11

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,744

Re: [SOLVED] Border under titlebar

hhh wrote:

Nice work @bronto, I didn't even get to look at it. Marking [SOLVED].

You know what they say: "Even a blind chicken finds a grain of corn sometimes".

Online

#10 2025-09-10 10:34:29

s0la
Member
Registered: 2025-06-29
Posts: 7

Re: [SOLVED] Border under titlebar

brontosaurusrex wrote:
hhh wrote:

Nice work @bronto, I didn't even get to look at it. Marking [SOLVED].

You know what they say: "Even a blind chicken finds a grain of corn sometimes".

Btw, thanks to your replay, I didn't just get answer to my question, I also discovered your website/youtube channel.. It indeed is full of super interesting stuff, so thanks again! smile

Offline

Board footer

Powered by FluxBB