diff --git a/README.md b/README.md index 82a4aad..792a1a9 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ Options: --swap swap windows Commands: - r focus into window in right side - l focus into window in left side + r Focus on the next window. If the current window is already at the edge, focus on the next workspace. + l Focus on the previous window. If the current window is already at the edge, focus on the previous workspace. ``` ## Example in hyprland.conf diff --git a/src/cli.rs b/src/cli.rs index cead47f..5d20080 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -14,7 +14,7 @@ pub enum Command { Prev(CommandPrev), } -/// focus into window in right side +/// Focus on the next window. If the current window is already at the edge, focus on the next workspace. #[derive(FromArgs, PartialEq, Debug)] #[argh(subcommand, name = "r")] pub struct CommandNext { @@ -22,7 +22,7 @@ pub struct CommandNext { pub swap: bool, } -/// focus into window in left side +/// Focus on the previous window. If the current window is already at the edge, focus on the previous workspace. #[derive(FromArgs, PartialEq, Debug)] #[argh(subcommand, name = "l")] pub struct CommandPrev {