Skip to content

Commit

Permalink
feat: alt-shift-tab
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Dec 12, 2024
1 parent 0072b79 commit 72ab1fe
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions cosmic-settings/src/pages/input/keyboard/shortcuts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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"),
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
1 change: 1 addition & 0 deletions i18n/en/cosmic_settings.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72ab1fe

Please sign in to comment.