Commit:7daab6308be2a52987b760d4141ed79b3a31bdbd (browse)
Parent:3f053729c29e7ab55f625131503463a3f9732206
Author:Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Date:Fri Feb 19 14:09:58 CET 2021
Message:
do not print out desktop number unless it changed

riow => riow
@@ -197,8 +197,10 @@
 fn work {
 	echo $curdesktop
 	while(s=`{read}){
+		olddesktop=$curdesktop
 		handle $s
-		echo $curdesktop
+		if(! ~ $olddesktop $curdesktop)
+			echo $curdesktop
 	}
 }