From 0baa079371b202b2b5ea9ef6ecf5e82906aa8a19 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 16 Jun 2018 19:17:30 -0700 Subject: [PATCH] [Emacs] Always use frame mode when in xmonad --- dotfiles/emacs.d/README.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index c83a941a..648fe019 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1168,7 +1168,9 @@ Disabling line numbers because they are slow as fuck. #+END_SRC *** frame-mode #+BEGIN_SRC emacs-lisp -(defvar imalison:use-frame-mode nil) +(defvar imalison:use-frame-mode + (s-contains? "xmonad" (shell-command-to-string "wmctrl -m"))) + (use-package frame-mode :if imalison:use-frame-mode :demand t