kiran-cc-daemon/0022-feature-media-keys-add-shutdown-keybinding.patch

30 lines
1.1 KiB
Diff

From 2c7c73ef7bb363c4c0966daf5e48664f6b708c62 Mon Sep 17 00:00:00 2001
From: yangfeng <yangfeng@kylinsec.com.cn>
Date: Wed, 24 Jul 2024 19:59:51 +0800
Subject: [PATCH 22/22] feature(media-keys): add shutdown keybinding
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 增加关机快捷键
---
data/schemas/com.kylinsec.kiran.media-keys.gschema.xml.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/schemas/com.kylinsec.kiran.media-keys.gschema.xml.in b/data/schemas/com.kylinsec.kiran.media-keys.gschema.xml.in
index 7bfb629..7ec3296 100644
--- a/data/schemas/com.kylinsec.kiran.media-keys.gschema.xml.in
+++ b/data/schemas/com.kylinsec.kiran.media-keys.gschema.xml.in
@@ -57,7 +57,7 @@
<description>Binding to mute/unmute the microphone.</description>
</key>
<key name="power" type="s">
- <default>''</default>
+ <default>'&lt;Control&gt;&lt;Alt&gt;Delete'</default>
<summary>Shut down</summary>
<description>Binding to shut down.</description>
</key>
--
2.27.0