chore: add log-out shortcut
This commit is contained in:
parent
d6b76fcfd4
commit
c2deb05292
4 changed files with 10 additions and 6 deletions
12
Cargo.lock
generated
12
Cargo.lock
generated
|
|
@ -1463,7 +1463,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "cosmic-config"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/pop-os/libcosmic#4a97b3ddd2f972cb8fdc6b7c0482596aa31a8fb8"
|
||||
source = "git+https://github.com/pop-os/libcosmic#1914006cdd689491e3199d9887a715866c91d8aa"
|
||||
dependencies = [
|
||||
"atomicwrites",
|
||||
"cosmic-config-derive",
|
||||
|
|
@ -1485,7 +1485,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "cosmic-config-derive"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/pop-os/libcosmic#4a97b3ddd2f972cb8fdc6b7c0482596aa31a8fb8"
|
||||
source = "git+https://github.com/pop-os/libcosmic#1914006cdd689491e3199d9887a715866c91d8aa"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"syn 1.0.109",
|
||||
|
|
@ -1672,7 +1672,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "cosmic-settings-config"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/pop-os/cosmic-settings-daemon#747e482ca197497ee3bc5f6e9dcd23c73e592e47"
|
||||
source = "git+https://github.com/pop-os/cosmic-settings-daemon#fe529ae0edda45d53f3bd3a579c3a8f77457905a"
|
||||
dependencies = [
|
||||
"cosmic-config",
|
||||
"serde",
|
||||
|
|
@ -3155,7 +3155,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "iced_accessibility"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/pop-os/libcosmic#4a97b3ddd2f972cb8fdc6b7c0482596aa31a8fb8"
|
||||
source = "git+https://github.com/pop-os/libcosmic#1914006cdd689491e3199d9887a715866c91d8aa"
|
||||
dependencies = [
|
||||
"accesskit",
|
||||
"accesskit_winit",
|
||||
|
|
@ -3164,7 +3164,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "iced_core"
|
||||
version = "0.14.0-dev"
|
||||
source = "git+https://github.com/pop-os/libcosmic#4a97b3ddd2f972cb8fdc6b7c0482596aa31a8fb8"
|
||||
source = "git+https://github.com/pop-os/libcosmic#1914006cdd689491e3199d9887a715866c91d8aa"
|
||||
dependencies = [
|
||||
"bitflags 2.6.0",
|
||||
"bytes",
|
||||
|
|
@ -3189,7 +3189,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "iced_futures"
|
||||
version = "0.14.0-dev"
|
||||
source = "git+https://github.com/pop-os/libcosmic#4a97b3ddd2f972cb8fdc6b7c0482596aa31a8fb8"
|
||||
source = "git+https://github.com/pop-os/libcosmic#1914006cdd689491e3199d9887a715866c91d8aa"
|
||||
dependencies = [
|
||||
"futures",
|
||||
"iced_core",
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -625,6 +625,7 @@ system-shortcut = System
|
|||
.keyboard-brightness-down = Decrease keyboard brightness
|
||||
.keyboard-brightness-up = Increase keyboard brightness
|
||||
.launcher = Open the launcher
|
||||
.log-out = Log Out
|
||||
.lock-screen = Lock the screen
|
||||
.mute = Mute audio output
|
||||
.mute-mic = Mutes microphone input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue