mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
fix(desktop): require windmove
This commit is contained in:
parent
bea3f8c93d
commit
3a47b44068
2 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue