diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2024-02-22 08:44:10 +0800 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2024-02-22 08:44:10 +0800 |
commit | 1765b30e8037213ffee6635cc9a8b4ef3faf239c (patch) | |
tree | b19fe0dae8066e518c0b238cb2311e48e8052880 | |
parent | 9699fb625dce555dfa037b95e7f8783335e69473 (diff) | |
download | dotfiles-1765b30e8037213ffee6635cc9a8b4ef3faf239c.tar.gz |
i3status-wrapper: minor simplification for readability
-rwxr-xr-x | scripts/desktop/i3status-wrapper | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/desktop/i3status-wrapper b/scripts/desktop/i3status-wrapper index 82b6a195..8cde0a94 100755 --- a/scripts/desktop/i3status-wrapper +++ b/scripts/desktop/i3status-wrapper @@ -706,8 +706,7 @@ sub fresh_workspace { # we should write wrapper code that can handle either case.) push @cmds, "workspace $next_free_workspace"; - push @cmds, show_con($info{paper_ws}{$info{focused_ws}}{focused_col}) - if $opts{send}; + push @cmds, show_con($ws->{focused_col}) if $opts{send}; push @cmds, "workspace back_and_forth" unless $opts{go}; $wmipc->cmd(@cmds); |