shithub: riow

Download patch

ref: 67b94a1422e25ad2e19ad89206772958d7bb6a72
parent: 400d521033751fee6cbd845c7aa515f7f861f360
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Apr 25 11:34:28 EDT 2020

rearrange key handling a bit

--- a/riow
+++ b/riow
@@ -142,13 +142,15 @@
 		}
 		shift
 	}
-	if(~ $alt 0 && ~ $ctl 0 && ~ $shift 0){
-		if(~ $key enter) window
-		if(~ $key f)     togglefullscreen
-		if(~ $key s)     togglesticky
+	if(~ $ctl 0 && ~ $alt 0){
+		if(~ $shift 0){
+			if(~ $key enter) window
+			if(~ $key f)     togglefullscreen
+			if(~ $key s)     togglesticky
+		}
+		if(~ $ukey [0-9] && ! ~ $ukey $curdesktop)
+			desktop $ukey
 	}
-	if(~ $ukey [0-9] && ! ~ $ukey $curdesktop)
-		desktop $ukey
 }
 
 scrsize