Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: Mark next/previous output actions deprecated #73

Merged
merged 1 commit into from
Feb 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions config/src/shortcuts/action.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
#![allow(deprecated)] // Derives on deprecated variants produce warnings...

use serde::{Deserialize, Serialize};

Expand All @@ -23,12 +24,14 @@ pub enum Action {
/// Maximize the active window
Maximize,

#[deprecated]
/// Migrate the active workspace to the next output
MigrateWorkspaceToNextOutput,

/// Migrate the active workspace to the output in the given direction
MigrateWorkspaceToOutput(Direction),

#[deprecated]
/// Migrate the active workspace to the previous output
MigrateWorkspaceToPreviousOutput,

Expand All @@ -41,6 +44,7 @@ pub enum Action {
/// Move a window to the last workspace
MoveToLastWorkspace,

#[deprecated]
/// Move a window to the next output
MoveToNextOutput,

Expand All @@ -50,6 +54,7 @@ pub enum Action {
/// Move a window to the given output
MoveToOutput(Direction),

#[deprecated]
/// Move a window to the previous output
MoveToPreviousOutput,

Expand All @@ -59,6 +64,7 @@ pub enum Action {
/// Move a window to the given workspace
MoveToWorkspace(u8),

#[deprecated]
/// Change focus to the next output
NextOutput,

Expand All @@ -68,6 +74,7 @@ pub enum Action {
/// Change the orientation of a tiling group
Orientation(Orientation),

#[deprecated]
/// Change focus to the previous output
PreviousOutput,

Expand All @@ -80,6 +87,7 @@ pub enum Action {
/// Move a window to the last workspace
SendToLastWorkspace,

#[deprecated]
/// Move a window to the next output
SendToNextOutput,

Expand All @@ -89,6 +97,7 @@ pub enum Action {
/// Move a window to the output in the given direction
SendToOutput(Direction),

#[deprecated]
/// Move a window to the previous output
SendToPreviousOutput,

Expand Down