diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/Config.qml | 6 | ||||
| -rw-r--r-- | config/SessionConfig.qml | 8 |
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"] |