From d9df0dd45ee76ead072c1b58f001d0ef7ee5d0b9 Mon Sep 17 00:00:00 2001 From: Cristian Miranda Date: Fri, 8 Nov 2024 19:49:09 -0300 Subject: [PATCH] :wrench: hot-corner: support 3 and 4 screens --- home/bin/hot-corner | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/bin/hot-corner b/home/bin/hot-corner index 99657536..d118f4fa 100755 --- a/home/bin/hot-corner +++ b/home/bin/hot-corner @@ -1,7 +1,10 @@ #!/bin/bash SCREEN_WIDTH=$(xwininfo -root | awk '$1=="Width:" {print $2}') -SCREEN_HEIGHT=$(xwininfo -root | awk '$1=="Height:" {print $2}') +# +# After adding a third monitor in vertical mode, the height of the screen changed +# +SCREEN_HEIGHT=2260 # $(xwininfo -root | awk '$1=="Height:" {print $2}') TIME_IN_CORNER=0 while true; do