sawfish.wm.prg.xrandr

Christopher Roy Bratusek <[email protected]>
Newsgroups gmane.comp.window-managers.sawfish
Organization Nanolx.org
Message-ID <20140124234820.5f7315cc@Voyager>
Hi folks,

Have been playing around with xrandr stuff just for fun, not complete
or well tested, feel free to test/improve/trash or whatever.

Regards,
Chris
xrandr.diff (text/x-patch, 1001 B)
diff --git a/lisp/sawfish/wm/user.jl b/lisp/sawfish/wm/user.jl
index a810c1b..6a0a700 100644
--- a/lisp/sawfish/wm/user.jl
+++ b/lisp/sawfish/wm/user.jl
@@ -61,7 +61,8 @@
 	   sawfish.wm.prg.xgamma
 	   sawfish.wm.prg.xmobar
 	   sawfish.wm.prg.xmodmap
-	   sawfish.wm.prg.xsettingsd)
+	   sawfish.wm.prg.xsettingsd
+	   sawfish.wm.prg.xrandr)
      (access sawfish.wm.integration.kde
 	     sawfish.wm.integration.gnome
 	     sawfish.wm.integration.xfce
@@ -267,6 +268,10 @@ Possible values are \"kde\", \"gnome\", \"mate\", \"xfce\", \"razor\", \"lxde\"
   (unless batch-mode
     (when init-xgamma
       (add-hook 'after-initialization-hook (lambda () (xgamma-set-from-cfg t t t)) t))
+    (when init-xrandr
+      (add-hook 'after-initialization-hook xrandr-rotate-from-cfg t)
+      (when xrandr-scale-output
+        (add-hook 'after-initialization-hook xrandr-scale-from-cfg)))
     (when init-wallpaper
       (add-hook 'after-initialization-hook set-wallpaper t))
     (when init-fehlstart
xrandr.jl (application/octet-stream, 3.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.