Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I love iTerm2, I keep up with the "current" beta versions, using them all day in production.

I would love it if they'd make a "dark" titlebar version of the window chrome. My setup currently has windows without any titlebar at all (thanks to iTerm for that feature!), but it makes rearranging windows challenging.

I look forward to trying out the newer features!



You can change the colour of the title bar in iTerm with an ansi code! I have different colours for all of my servers: http://i.imgur.com/mdF3XBz.png

This will give you a title bar with RGB values 20, 20, 20:

printf -- $'\033]6;1;bg;red;brightness;20\a\033]6;1;bg;green;brightness;20\a\033]6;1;bg;blue;brightness;20\a'

Documentation: https://iterm2.com/documentation-escape-codes.html


Woah, they really should shout about this feature more.


How are you doing this in your servers? Adding it to your shell profiles on said servers?


It's in my .zlogin or .zshrc on my servers, and it's in my PS1 on my home computer, so when I exit the servers it resets nicely.


I didn't know that. Thank you!


This comment may be lost, but for Google posterity, it appears that this feature only sets the window titlebar if you aren't displaying the tab bar. Otherwise, the escape codes set the color of the tab.

It would be nice to have separate escape sequences for the window titlebar and for the tabs.

My interest in this is to dim the glaring-white strip of the Mac OS X window chrome when I have dark tabs, a dark-background terminal, and a dark menubar. If you have many such dark terminals open, the Mac OS X window chrome really interferes with the visual consistency of the setup.


Thanks so much for pointing out the ability to hide the titlebar entirely, as I have the same pet peeve :)

I would suggest using one of the many pseudo tiling window managers to resize your windows so you don't have that problem. I strongly recommend spectacle [1]

[1] https://www.spectacleapp.com/


With the default settings in iTerm, you might not fully fill the screen with shortcuts (half screen would be missing a little bit of the window on the bottom). By default iTerm uses row height to determine the window height.

Advanced Settings > Smooth Resizing - will fix this.


I've been using Magnet for about a year and it works very well: http://magnet.crowdcafe.com

I always forget it's there, then when I use someone else's Mac I wonder why the Win7-style drag-to-a-place-to-get-a-shadow-preview-of-the-new-size doesn't work.


I had been using Cinch. This seems pretty similar


Is there anyway to achieve something similar to Quicktime? Or is that what you mean by a 'dark' titlebar? I'd love if the titlebar would fade away when not mousing over it.


this is totally feasible with a custom .car file that you can embed into your program. The problem is the titlebar text.

I hacked together a working SIMBL script back in the 10.6 days that fixed the problem, but it's probably lost.

Interestingly, Apple's current DarkAppearance.car (/System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources) that ships (but lies unused) in OS X 10.11.3 suffers from the same problems. You can copy it over into GraphiteAppearance.car to test it out. White titlebar text is still glitched to hell.


How do you hide the titlebar entirely?


Preferences > Profile > Window > Style: "No Title Bar"

doesn't seem to then be anyway to move the window (just resize from the edges)


Mirroring my sibling comment here, but thanks for the detailed note on how to get rid of the bright white title bar :)

As far as resizing goes, I would suggest using one of the many pseudo tiling window managers available on mac. I strongly recommend spectacle [1]

[1] https://www.spectacleapp.com/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: