[Emacs] Always use frame mode when in xmonad
This commit is contained in:
parent
8cade342d6
commit
0baa079371
@ -1168,7 +1168,9 @@ Disabling line numbers because they are slow as fuck.
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** frame-mode
|
*** frame-mode
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+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
|
(use-package frame-mode
|
||||||
:if imalison:use-frame-mode
|
:if imalison:use-frame-mode
|
||||||
:demand t
|
:demand t
|
||||||
|
Loading…
Reference in New Issue
Block a user