shortcuts: Add fullscreen shortcut
This commit is contained in:
parent
9d296353e3
commit
d6355613c9
4 changed files with 11 additions and 7 deletions
14
Cargo.lock
generated
14
Cargo.lock
generated
|
|
@ -1519,7 +1519,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "cosmic-config"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/pop-os/libcosmic#a85b3693994ef2b8275eca6a9eccc86a2d7e9f86"
|
||||
source = "git+https://github.com/pop-os/libcosmic#46cbce033b3863b4633032f7bc90f92116ad4c31"
|
||||
dependencies = [
|
||||
"atomicwrites",
|
||||
"cosmic-config-derive",
|
||||
|
|
@ -1541,7 +1541,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "cosmic-config-derive"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/pop-os/libcosmic#a85b3693994ef2b8275eca6a9eccc86a2d7e9f86"
|
||||
source = "git+https://github.com/pop-os/libcosmic#46cbce033b3863b4633032f7bc90f92116ad4c31"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"syn 2.0.104",
|
||||
|
|
@ -1743,7 +1743,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "cosmic-settings-config"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/pop-os/cosmic-settings-daemon#be134468abd305265247e076e18c7a84097cd7c8"
|
||||
source = "git+https://github.com/pop-os/cosmic-settings-daemon#54b4418e1e7757d965166ae9dc00c522aebf4451"
|
||||
dependencies = [
|
||||
"cosmic-config",
|
||||
"ron 0.9.0",
|
||||
|
|
@ -1765,7 +1765,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "cosmic-settings-daemon-config"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/pop-os/cosmic-settings-daemon#be134468abd305265247e076e18c7a84097cd7c8"
|
||||
source = "git+https://github.com/pop-os/cosmic-settings-daemon#54b4418e1e7757d965166ae9dc00c522aebf4451"
|
||||
dependencies = [
|
||||
"cosmic-config",
|
||||
"ron 0.8.1",
|
||||
|
|
@ -3292,7 +3292,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "iced_accessibility"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/pop-os/libcosmic#a85b3693994ef2b8275eca6a9eccc86a2d7e9f86"
|
||||
source = "git+https://github.com/pop-os/libcosmic#46cbce033b3863b4633032f7bc90f92116ad4c31"
|
||||
dependencies = [
|
||||
"accesskit",
|
||||
"accesskit_winit",
|
||||
|
|
@ -3301,7 +3301,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "iced_core"
|
||||
version = "0.14.0-dev"
|
||||
source = "git+https://github.com/pop-os/libcosmic#a85b3693994ef2b8275eca6a9eccc86a2d7e9f86"
|
||||
source = "git+https://github.com/pop-os/libcosmic#46cbce033b3863b4633032f7bc90f92116ad4c31"
|
||||
dependencies = [
|
||||
"bitflags 2.9.1",
|
||||
"bytes",
|
||||
|
|
@ -3326,7 +3326,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "iced_futures"
|
||||
version = "0.14.0-dev"
|
||||
source = "git+https://github.com/pop-os/libcosmic#a85b3693994ef2b8275eca6a9eccc86a2d7e9f86"
|
||||
source = "git+https://github.com/pop-os/libcosmic#46cbce033b3863b4633032f7bc90f92116ad4c31"
|
||||
dependencies = [
|
||||
"futures",
|
||||
"iced_core",
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ pub const fn actions() -> &'static [Action] {
|
|||
&[
|
||||
Action::Close,
|
||||
Action::Maximize,
|
||||
Action::Fullscreen,
|
||||
Action::Minimize,
|
||||
Action::Resizing(ResizeDirection::Inwards),
|
||||
Action::Resizing(ResizeDirection::Outwards),
|
||||
|
|
|
|||
|
|
@ -514,6 +514,7 @@ fn all_system_actions() -> &'static [Action] {
|
|||
Action::Focus(FocusDirection::Up),
|
||||
Action::LastWorkspace,
|
||||
Action::Maximize,
|
||||
Action::Fullscreen,
|
||||
Action::MigrateWorkspaceToOutput(Direction::Down),
|
||||
Action::MigrateWorkspaceToOutput(Direction::Left),
|
||||
Action::MigrateWorkspaceToOutput(Direction::Right),
|
||||
|
|
@ -603,6 +604,7 @@ fn localize_action(action: &Action) -> String {
|
|||
Action::Workspace(i) => fl!("nav-shortcuts", "workspace", num = (*i as usize)),
|
||||
Action::LastWorkspace => fl!("nav-shortcuts", "last-workspace"),
|
||||
Action::Maximize => fl!("manage-windows", "maximize"),
|
||||
Action::Fullscreen => fl!("manage-windows", "fullscreen"),
|
||||
Action::Minimize => fl!("manage-windows", "minimize"),
|
||||
Action::Move(Direction::Down) => fl!("move-windows", "direction", direction = "down"),
|
||||
Action::Move(Direction::Right) => fl!("move-windows", "direction", direction = "right"),
|
||||
|
|
|
|||
|
|
@ -644,6 +644,7 @@ nav-shortcuts = Navigation
|
|||
manage-windows = Manage windows
|
||||
.close = Close window
|
||||
.maximize = Maximize window
|
||||
.fullscreen = Fullscreen window
|
||||
.minimize = Minimize window
|
||||
.resize-inwards = Resize window inwards
|
||||
.resize-outwards = Resize window outwards
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue