diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/tools/misc/mons/xrandr.patch')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/tools/misc/mons/xrandr.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/tools/misc/mons/xrandr.patch b/infra/libkookie/nixpkgs/pkgs/tools/misc/mons/xrandr.patch new file mode 100644 index 000000000000..6cbcdf9d514e --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/tools/misc/mons/xrandr.patch @@ -0,0 +1,14 @@ +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 |