75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
14 lines
449 B
Diff
14 lines
449 B
Diff
diff --git a/mons.sh b/mons.sh
|
|
index b86ce5c..feb0f33 100755
|
|
--- a/mons.sh
|
|
+++ b/mons.sh
|
|
@@ -151,8 +151,7 @@ main() {
|
|
# =============================
|
|
|
|
[ -z "$DISPLAY" ] && { echo 'DISPLAY: no variable set.'; exit 1; }
|
|
- command -vp xrandr >/dev/null 2>&1 || { echo 'xrandr: command not found.'; exit 1; }
|
|
- XRANDR="$(command -pv xrandr)"
|
|
+ XRANDR="@xrandr@"
|
|
|
|
# =============================
|
|
# Argument Checking
|