summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2024-02-22 08:44:10 +0800
committerSean Whitton <spwhitton@spwhitton.name>2024-02-22 08:44:10 +0800
commit1765b30e8037213ffee6635cc9a8b4ef3faf239c (patch)
treeb19fe0dae8066e518c0b238cb2311e48e8052880
parent9699fb625dce555dfa037b95e7f8783335e69473 (diff)
downloaddotfiles-1765b30e8037213ffee6635cc9a8b4ef3faf239c.tar.gz
i3status-wrapper: minor simplification for readability
-rwxr-xr-xscripts/desktop/i3status-wrapper3
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);