feat: alt-shift-tab

This commit is contained in:
Ashley Wulber 2024-12-11 21:20:55 -05:00 committed by Ashley Wulber
parent 0072b79885
commit 72ab1feb63
4 changed files with 8 additions and 1 deletions

3
Cargo.lock generated
View file

@ -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",

View file

@ -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"),
},

View file

@ -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),

View file

@ -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