about summary refs log tree commit diff
path: root/users/wpcarro/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro/emacs')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/window-manager.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el b/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el
index 6030461da61b..0ab5a63d61ea 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el
+++ b/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el
@@ -195,7 +195,9 @@
 ;; TODO: Is there a shell-command API that accepts an alist and serializes it
 ;; into variables to pass to the shell command?
 (defconst window-manager--xsecurelock
-  "/usr/share/goobuntu-desktop-files/xsecurelock.sh"
+  (if (device-corporate?)
+      "/usr/share/goobuntu-desktop-files/xsecurelock.sh"
+    "xsecurelock")
   "Path to the proper xsecurelock executable.
 The other path to xsecurelock is /usr/bin/xsecurelock, which works fine, but it
 is not optimized for Goobuntu devices.  Goobuntu attempts to check a user's
@@ -347,7 +349,7 @@ predicate."
 
 (add-hook 'exwm-init-hook
           (lambda ()
-            (display-arrange-primary)
+            ;; (display-arrange-primary)
             (window-manager--switch "Coding")))
 
 (provide 'window-manager)