• ubuntu修改顶栏颜色



    title: ubuntu修改顶栏颜色
    toc: false
    date: 2018-09-29 19:14:01
    categories:

    • methods

    tags:

    • Ubuntu

    编辑shell主题的css文件,比如我的shell主题是Vimix-Beryl

    sudo gedit /usr/share/themes/Vimix-Beryl/gnome-shell/gnome-shell.css
    

    打开之后搜索top bar,会看到这样一段:

    /* TOP BAR */
    #panel {
      background-color: rgba(0, 0, 0, 0.6);
      /* transition from solid to transparent */
      transition-duration: 250ms;
      font-weight: bold;
      height: 32px;
    }
    

    按照自己的喜好修改background-color即可_

    补充:修改完可能并不能直接看到效果,可以在tweaks里先切换成别的主题再换成修改了的主题。

    再补充:因为我是把透明度调到了大概0.2左右,导致使用hide top bar扩展时使用鼠标触发top bar后几乎看不清,可以往下找一下#panel.solid,把background-color改成这样:

    #panel.solid {
      background-color: rgba(0, 0, 0, 0.5);;
      /* transition from transparent to solid */
      transition-duration: 250ms;
      background-gradient-direction: none;
      text-shadow: none;
    }
    
  • 相关阅读:
    git配置公钥,私钥
    vscode之vue文件代码格式化代码无效解决办法
    [python 并行3]进程
    [spring 并行6]分布式
    [spring 并行5]GPU
    [python 并行2]线程
    [spring 并行4]异步
    [python 并行1]简介
    [flask] flask api + vue 跨域问题
    [spring学习4] MVC
  • 原文地址:https://www.cnblogs.com/zmj97/p/10180661.html
Copyright © 2020-2023  润新知