]> git.sur5r.net Git - i3/i3/commitdiff
i3-wsbar: make workspace names clickable (Thanks marforio)
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 2 Aug 2011 21:25:29 +0000 (23:25 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 3 Aug 2011 22:40:40 +0000 (00:40 +0200)
i3-wsbar

index 26d8caf74fe057eb743ef41f785952ca933f7f1a..4e2723167654cef3e560e11566d2e4c8f0409e2a 100755 (executable)
--- a/i3-wsbar
+++ b/i3-wsbar
@@ -179,7 +179,7 @@ sub update_output {
             ($bg, $fg) = qw(4c7899 ffffff) if $ws->{visible};
             ($bg, $fg) = qw(900000 ffffff) if $ws->{urgent};
 
-            my $cmd = q|i3-msg "| . $ws->{num} . q|"|;
+            my $cmd = q|i3-msg "workspace | . $ws->{name} . q|"|;
             my $name = $ws->{name};
 
             # Begin the clickable area