From 3a47b4406847ec43af5c6b75077c3dba1919da15 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Thu, 27 Jul 2023 00:57:42 +0300 Subject: [PATCH] fix(desktop): require windmove --- .emacs.d/desktop.el | 2 ++ Desktop.org | 2 ++ 2 files changed, 4 insertions(+) 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.