Skip to content

Commit

Permalink
Fixed GitHub merge errors in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMohawkNinja committed Aug 29, 2020
2 parents c942698 + 3d6f6c3 commit aee7c5a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions getInfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

res="$(xrandr | grep -E '[d|y] [0-9]{2,4}x[0-9]{2,4}' | grep -Eo '[0-9]{2,4}x[0-9]{2,4}')"
x="$(xrandr | grep -Eo '[+][0-9]{1,4}[+]' | grep -Eo '[0-9]{1,4}')"
y="$(xrandr | grep -Eo '[+][0-9]{1,4} ' | grep -Eo '[0-9]{1,4}')"

echo "Monitor resolutions"
echo "${res}"
echo

echo "Monitor X offsets"
echo "${x}"
echo

echo "Monitor Y offsets"
echo "${y}"
echo


0 comments on commit aee7c5a

Please sign in to comment.