diff --git a/.emacs.d/desktop.el b/.emacs.d/desktop.el index b17d307..0839737 100644 --- a/.emacs.d/desktop.el +++ b/.emacs.d/desktop.el @@ -31,6 +31,8 @@ :foreground (doom-color 'yellow) :weight 'bold))) +(require 'windmove) + (defun my/exwm-direction-exists-p (dir) "Check if there is space in the direction DIR. diff --git a/Desktop.org b/Desktop.org index e850c4d..d35d484 100644 --- a/Desktop.org +++ b/Desktop.org @@ -281,6 +281,8 @@ I can't say it's better or worse than the built-in functionality or one provided So, first, we need a predicate that checks whether there is space in the given direction: #+begin_src emacs-lisp +(require 'windmove) + (defun my/exwm-direction-exists-p (dir) "Check if there is space in the direction DIR.