Skip to content

Commit

Permalink
🔧 hot-corner: support 3 and 4 screens
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianmiranda committed Nov 8, 2024
1 parent d64c9a6 commit d9df0dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion home/bin/hot-corner
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d9df0dd

Please sign in to comment.