chore: add log-out shortcut
This commit is contained in:
parent
d6b76fcfd4
commit
c2deb05292
4 changed files with 10 additions and 6 deletions
|
|
@ -525,6 +525,7 @@ fn all_system_actions() -> &'static [Action] {
|
|||
Action::System(SystemAction::KeyboardBrightnessDown),
|
||||
Action::System(SystemAction::KeyboardBrightnessUp),
|
||||
Action::System(SystemAction::Launcher),
|
||||
Action::System(SystemAction::LogOut),
|
||||
Action::System(SystemAction::LockScreen),
|
||||
Action::System(SystemAction::Mute),
|
||||
Action::System(SystemAction::MuteMic),
|
||||
|
|
@ -654,6 +655,7 @@ fn localize_action(action: &Action) -> String {
|
|||
}
|
||||
SystemAction::KeyboardBrightnessUp => fl!("system-shortcut", "keyboard-brightness-up"),
|
||||
SystemAction::Launcher => fl!("system-shortcut", "launcher"),
|
||||
SystemAction::LogOut => fl!("system-shortcut", "log-out"),
|
||||
SystemAction::LockScreen => fl!("system-shortcut", "lock-screen"),
|
||||
SystemAction::Mute => fl!("system-shortcut", "mute"),
|
||||
SystemAction::MuteMic => fl!("system-shortcut", "mute-mic"),
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ pub const fn actions() -> &'static [Action] {
|
|||
Action::System(SystemAction::WorkspaceOverview),
|
||||
Action::System(SystemAction::WindowSwitcher),
|
||||
Action::System(SystemAction::WindowSwitcherPrevious),
|
||||
Action::System(SystemAction::LogOut),
|
||||
Action::System(SystemAction::LockScreen),
|
||||
Action::System(SystemAction::VolumeLower),
|
||||
Action::System(SystemAction::VolumeRaise),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue