diff --git a/Cargo.lock b/Cargo.lock index f96ad2b0..488079d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1550,6 +1550,7 @@ dependencies = [ [[package]] name = "cosmic-mime-apps" version = "0.1.0" +source = "git+https://github.com/pop-os/cosmic-mime-apps#a5aefbd2e914682c151f3b8054dd711e7f57941d" dependencies = [ "freedesktop-desktop-entry", "mime 0.3.17", @@ -1691,7 +1692,7 @@ dependencies = [ [[package]] name = "cosmic-settings-config" version = "0.1.0" -source = "git+https://github.com/pop-os/cosmic-settings-daemon#e87f5859a2e932ef14746affd01cc67ed4f93cf1" +source = "git+https://github.com/pop-os/cosmic-settings-daemon#747e482ca197497ee3bc5f6e9dcd23c73e592e47" dependencies = [ "cosmic-config", "serde", diff --git a/cosmic-settings/src/pages/input/keyboard/shortcuts/mod.rs b/cosmic-settings/src/pages/input/keyboard/shortcuts/mod.rs index 5bbaf8ba..b39e3dd5 100644 --- a/cosmic-settings/src/pages/input/keyboard/shortcuts/mod.rs +++ b/cosmic-settings/src/pages/input/keyboard/shortcuts/mod.rs @@ -537,6 +537,7 @@ fn all_system_actions() -> &'static [Action] { Action::System(SystemAction::VolumeRaise), Action::System(SystemAction::WebBrowser), Action::System(SystemAction::WindowSwitcher), + Action::System(SystemAction::WindowSwitcherPrevious), Action::System(SystemAction::WorkspaceOverview), Action::Terminate, Action::ToggleOrientation, @@ -665,6 +666,9 @@ fn localize_action(action: &Action) -> String { SystemAction::VolumeRaise => fl!("system-shortcut", "volume-raise"), SystemAction::WebBrowser => fl!("system-shortcut", "web-browser"), SystemAction::WindowSwitcher => fl!("system-shortcut", "window-switcher"), + SystemAction::WindowSwitcherPrevious => { + fl!("system-shortcut", "window-switcher-previous") + } SystemAction::WorkspaceOverview => fl!("system-shortcut", "workspace-overview"), }, diff --git a/cosmic-settings/src/pages/input/keyboard/shortcuts/system.rs b/cosmic-settings/src/pages/input/keyboard/shortcuts/system.rs index 9d92cb27..d2288e42 100644 --- a/cosmic-settings/src/pages/input/keyboard/shortcuts/system.rs +++ b/cosmic-settings/src/pages/input/keyboard/shortcuts/system.rs @@ -80,6 +80,7 @@ pub const fn actions() -> &'static [Action] { Action::System(SystemAction::Launcher), Action::System(SystemAction::WorkspaceOverview), Action::System(SystemAction::WindowSwitcher), + Action::System(SystemAction::WindowSwitcherPrevious), Action::System(SystemAction::LockScreen), Action::System(SystemAction::VolumeLower), Action::System(SystemAction::VolumeRaise), diff --git a/i18n/en/cosmic_settings.ftl b/i18n/en/cosmic_settings.ftl index 1c72ce7d..bf09e1c3 100644 --- a/i18n/en/cosmic_settings.ftl +++ b/i18n/en/cosmic_settings.ftl @@ -637,6 +637,7 @@ system-shortcut = System .volume-raise = Increase audio output volume .web-browser = Opens a web browser .window-switcher = Switch between open windows + .window-switcher-previous = Switch between open windows reversed .workspace-overview = Open the workspace overview window-tiling = Window tiling