Commit 7bf5d44e authored by Duncan Bayne's avatar Duncan Bayne

Add utility method to invoke xrandr for scene selection

parent 4963c22a
......@@ -198,3 +198,8 @@
(defun utils/disable-linum-mode ()
"Disable linum mode."
(linum-mode 0))
(defun utils/xrandr (args)
"Run xrandr with the specified args, and wait for completion."
(let ((split-args (split-string args)))
(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