Commit f6255dad authored by Duncan Bayne's avatar Duncan Bayne

Fix intermittent xrandr operations

Weirdly, some xrandr operations seem to fail if not preceded by a
call to xrandr w/o args.
parent 7bf5d44e
......@@ -202,4 +202,5 @@
(defun utils/xrandr (args)
"Run xrandr with the specified args, and wait for completion."
(let ((split-args (split-string args)))
(call-process "xrandr" nil "*xrandr*" t)
(apply #'call-process `("xrandr" nil "*xrandr*" t ,@split-args))))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment