lrvy
0.05D
V2EX  ›  问与答

请问 iTerm2 下图中这种沉浸式标题栏效果怎么设置的?

  •  
  •   lrvy · Jul 17, 2018 · 5768 views
    This topic created in 3030 days ago, the information mentioned may be changed or developed.

    https://i.loli.net/2018/07/17/5b4d5a4825b2f.jpg

    如图,沉浸式标题栏,并且标题栏和终端之间也没有 1 像素的白线

    30 replies  •  2021-03-24 17:19:23 +08:00
    OrangeM21
    OrangeM21
    Jul 17, 2018❤️1
    1
    确定这个是 iterm2 吗?
    ChangQin
    ChangQin
    Jul 17, 2018❤️1
    2
    这个好像是改了标题栏的颜色,具体怎么改我也不会
    hash
    hash
    Jul 17, 2018❤️1
    3
    感觉并不是 iterm2,而是生成代码效果图的那个 web 工具
    tideline
    tideline
    Jul 17, 2018❤️1
    4
    看这个间距应该是 Hyper …
    lrvy
    lrvy
    OP
    Jul 17, 2018
    5
    @OrangeM21 #1
    @hash #3
    确认是 iterm2 因为我搜到了一篇帖子,不过设置失败了。。。
    https://chundi.me/just-for-fun/
    z67nnciQnb7r8bLf
    z67nnciQnb7r8bLf
    Jul 17, 2018❤️1
    6
    我之前搞过,没法弄。
    viko16
    viko16
    Jul 17, 2018
    7
    Why not Hyper ?
    throns
    throns
    Jul 17, 2018❤️1
    8
    ubuntu 下能做到这个效果:
    ![Selection_026.png]( https://i.loli.net/2018/07/17/5b4d8138776d7.png)
    用 Flatabulous 主题
    dodo2012
    dodo2012
    Jul 17, 2018❤️1
    9
    https://github.com/jasonwoodland/iTerm2-borderless

    不能多 tab,而且并不好用,我试过,想要这种效果的话,hpyer 可以做到
    InternetExplorer
    InternetExplorer
    Jul 17, 2018❤️1
    10
    https://i.loli.net/2018/07/17/5b4d8466d5330.png 这样么,titlebar 的颜色现在好像调不了,所以只能把背景改成和 titlebar 一样的颜色了
    CodeDrift
    CodeDrift
    Jul 17, 2018❤️1
    11
    好像是 Hyper 吧?
    ynyounuo
    ynyounuo
    Jul 17, 2018❤️1
    12
    为什么需要 title bar ?
    这样多好!
    gitopen
    gitopen
    Jul 17, 2018 via Android❤️1
    13
    @ynyounuo 怎么搞?
    InternetExplorer
    InternetExplorer
    Jul 17, 2018❤️1
    14
    不过你这个图片的三个点和窗口的间距来看并不是 iterm2
    ynyounuo
    ynyounuo
    Jul 17, 2018❤️1
    15
    @gitopen
    图例是 Alacritty,直接
    window:
    decorations: false
    就好。

    iTerm 的话 Preferences → Profiles → Window → Style 进行选择。
    gitopen
    gitopen
    Jul 17, 2018 via Android
    16
    tinywhale
    tinywhale
    Jul 17, 2018❤️1
    17
    去掉 1px 的分割线:iTerm2 Preferences > Appearance > Window, 去掉 Show line under title bar when the tab bar is not visible
    catoncat
    catoncat
    Jul 17, 2018❤️1
    18
    lrvy
    lrvy
    OP
    Jul 17, 2018
    19
    @tideline #4
    @viko16 #7
    @Anybfans #11

    额,那就是我搞错了,不想用 Hyper,太臃肿了,thx
    lrvy
    lrvy
    OP
    Jul 17, 2018
    20
    @InternetExplorer #10
    @tinywhale #17
    搞定了 thx
    ChangQin
    ChangQin
    Jul 17, 2018
    21
    @InternetExplorer 你那个是怎么调的啊?
    InternetExplorer
    InternetExplorer
    Jul 17, 2018
    22
    去掉 tab,去掉「 Show line under title bar when the tab bar is not visible 」,titlebar 在黑色主题下使用黑色,然后调背景颜色和 titlebar 一样(滴管吸一下,微调一下就好)
    具体的自己看着调,初始状态不一样很难说
    InternetExplorer
    InternetExplorer
    Jul 17, 2018
    23
    @ChangQin #21 ^^^^^^^^^^^^^
    archean
    archean
    Jul 17, 2018
    24
    折腾了下,发现 tab bar 的颜色跟我 Gruvbox 的配色没办法调整成一致的,后来发现开发者说 iTerm2 3.2 版本前可能无法解决这个问题。

    而且在 OS X 下界面效果差强人意,放弃了。

    以下是引用( https://gitlab.com/gnachman/iterm2/issues/6324 ):
    High sierra doesn't give apps control over the title bar color unless they draw the title bar themselves, but doing so breaks background blur. I have another change in the works that will increase drawing performance at the cost of breaking background blur, at which time it will make sense to also fix the title bar issue.
    ChangQin
    ChangQin
    Jul 17, 2018
    25
    @InternetExplorer 会了(流汗)~
    ChangQin
    ChangQin
    Jul 17, 2018
    26
    @InternetExplorer 终于搞定,写代码心情也变好了,谢啦~
    yuuko
    yuuko
    Jul 17, 2018
    27
    怎么改 title bar 颜色?
    yuuko
    yuuko
    Jul 18, 2018
    28
    两台 mac
    1. 10.13.3 不能改 titlebar 颜色
    2. 10.12.4 可以改 titlebar 颜色
    wrdfeng
    wrdfeng
    Mar 24, 2021❤️2
    29
    Appearance --> Theme --> Minimal 就可以了
    lrvy
    lrvy
    OP
    Mar 24, 2021
    30
    @wrdfeng #29 感谢,不过这个是两年前的帖子了,问题早已解决
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2773 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 00:26 · PVG 08:26 · LAX 16:26 · JFK 19:26
    ♥ Do have faith in what you're doing.