Skip to content

Commit

Permalink
chore: update flags descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ckaznable committed Jun 9, 2024
1 parent 24ff2e9 commit f46dc9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ 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 {
#[argh(switch, description = "swap window")]
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 {
Expand Down

0 comments on commit f46dc9b

Please sign in to comment.