summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
author八奈見 レイ <rei.tteiimasu@gmail.com>2026-02-19 17:30:02 +0530
committerGitHub <noreply@github.com>2026-02-19 23:00:02 +1100
commit1313b899ad9e0aba73aadedb249da1e5dfbf1486 (patch)
treeba5c6e021ca5425d48b728405c5dee60c26fb26d /config
parentdashboard/performance: new design, configurable, controlcenter support (#975) (diff)
downloadcaelestia-shell-1313b899ad9e0aba73aadedb249da1e5dfbf1486.tar.gz
caelestia-shell-1313b899ad9e0aba73aadedb249da1e5dfbf1486.tar.bz2
caelestia-shell-1313b899ad9e0aba73aadedb249da1e5dfbf1486.zip
config: added option to set session icons (#1189)
Diffstat (limited to 'config')
-rw-r--r--config/Config.qml6
-rw-r--r--config/SessionConfig.qml8
2 files changed, 14 insertions, 0 deletions
diff --git a/config/Config.qml b/config/Config.qml
index 1c01719..a70da54 100644
--- a/config/Config.qml
+++ b/config/Config.qml
@@ -359,6 +359,12 @@ Singleton {
enabled: session.enabled,
dragThreshold: session.dragThreshold,
vimKeybinds: session.vimKeybinds,
+ icons: {
+ logout: session.icons.logout,
+ shutdown: session.icons.shutdown,
+ hibernate: session.icons.hibernate,
+ reboot: session.icons.reboot
+ },
commands: {
logout: session.commands.logout,
shutdown: session.commands.shutdown,
diff --git a/config/SessionConfig.qml b/config/SessionConfig.qml
index f65ec6d..414f821 100644
--- a/config/SessionConfig.qml
+++ b/config/SessionConfig.qml
@@ -4,10 +4,18 @@ JsonObject {
property bool enabled: true
property int dragThreshold: 30
property bool vimKeybinds: false
+ property Icons icons: Icons {}
property Commands commands: Commands {}
property Sizes sizes: Sizes {}
+ component Icons: JsonObject {
+ property string logout: "logout"
+ property string shutdown: "power_settings_new"
+ property string hibernate: "downloading"
+ property string reboot: "cached"
+ }
+
component Commands: JsonObject {
property list<string> logout: ["loginctl", "terminate-user", ""]
property list<string> shutdown: ["systemctl", "poweroff"]