5 Star 0 Fork 10

src-openEuler/mate-terminal

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0004-fix-default-color-scheme-change-default-color-scheme.patch 2.42 KB
一键复制 编辑 原始数据 按行查看 历史
yueyaoqiang 提交于 2024-08-28 17:40 . sync patches from 1.22
From 233b85be08bbb940c6561e421f856c7f2d0c273c Mon Sep 17 00:00:00 2001
From: yueyaoqiang <yueyaoqiang@kylinos.cn>
Date: Wed, 28 Aug 2024 17:27:53 +0800
Subject: [PATCH 4/6] fix(default color scheme):change default color scheme to
Dracula Dark
---
src/org.mate.terminal.gschema.xml.in | 4 ++--
src/terminal-profile.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/org.mate.terminal.gschema.xml.in b/src/org.mate.terminal.gschema.xml.in
index 5cb44fb..53e7876 100644
--- a/src/org.mate.terminal.gschema.xml.in
+++ b/src/org.mate.terminal.gschema.xml.in
@@ -99,12 +99,12 @@
<description>True if the menubar should be shown in new windows, for windows/tabs with this profile.</description>
</key>
<key name="foreground-color" type="s">
- <default>'#E6E6E6'</default>
+ <default>'#F8F8F2'</default>
<summary>Default color of text in the terminal</summary>
<description>Default color of text in the terminal, as a color specification (can be HTML-style hex digits, or a color name such as "red").</description>
</key>
<key name="background-color" type="s">
- <default>'#000000'</default>
+ <default>'#282A36'</default>
<summary>Default color of terminal background</summary>
<description>Default color of terminal background, as a color specification (can be HTML-style hex digits, or a color name such as "red").</description>
</key>
diff --git a/src/terminal-profile.c b/src/terminal-profile.c
index bf953f1..13feceb 100644
--- a/src/terminal-profile.c
+++ b/src/terminal-profile.c
@@ -130,7 +130,7 @@ enum
/* Keep these in sync with the GSettings schema! */
#define DEFAULT_ALLOW_BOLD (TRUE)
-#define DEFAULT_BACKGROUND_COLOR ("#000000")
+#define DEFAULT_BACKGROUND_COLOR ("#282A36")
#define DEFAULT_BOLD_COLOR ("#FFFFFF")
#define DEFAULT_BOLD_COLOR_SAME_AS_FG (FALSE)
#define DEFAULT_BACKGROUND_DARKNESS (0.5)
@@ -146,7 +146,7 @@ enum
#define DEFAULT_DELETE_BINDING (VTE_ERASE_DELETE_SEQUENCE)
#define DEFAULT_EXIT_ACTION (TERMINAL_EXIT_CLOSE)
#define DEFAULT_FONT ("Monospace 12")
-#define DEFAULT_FOREGROUND_COLOR ("#E6E6E6")
+#define DEFAULT_FOREGROUND_COLOR ("#F8F8F2")
#define DEFAULT_LOGIN_SHELL (FALSE)
#define DEFAULT_NAME (NULL)
#define DEFAULT_PALETTE (terminal_palettes[TERMINAL_PALETTE_TANGO])
--
2.27.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/mate-terminal.git
git@gitee.com:src-openeuler/mate-terminal.git
src-openeuler
mate-terminal
mate-terminal
master

搜索帮助