From f46dc9b69aeaca5728aa135fdfcce67b0af09043 Mon Sep 17 00:00:00 2001 From: ckaznable Date: Sun, 9 Jun 2024 11:46:44 +0800 Subject: [PATCH] chore: update flags descriptions --- README.md | 4 ++-- src/cli.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 {