*.sh: Fix some shellcheck issues
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ 1 -lt "$(xrandr -q | grep " connected" | wc -l)" ]; then
|
||||
if [ 1 -lt "$(xrandr -q | grep -c " connected")" ]; then
|
||||
# scale second monitor to 3200x1800 and put to the left
|
||||
xrandr --output eDP1 --auto --pos 0x0 --primary \
|
||||
--output DP1 --auto --scale-from 3200x1800 --pos 3200x0 \
|
||||
|
||||
Reference in New Issue
Block a user