From 86dfb4e4f281b299fc7139d730e665de0e54d133 Mon Sep 17 00:00:00 2001 From: Grégoire Duchêne Date: Sun, 11 Feb 2024 16:39:29 +0000 Subject: emacs: Replace my/focus-frame with my/resize-frame my/resize-frame will provide more options to resize the frame as desired. Also, make that function available only on macOS, since Linux has capable tiling window managers. --- dotfiles-darwin/emacs/init.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dotfiles-darwin/emacs/init.el') diff --git a/dotfiles-darwin/emacs/init.el b/dotfiles-darwin/emacs/init.el index a8c0ab2..a34ffe4 100644 --- a/dotfiles-darwin/emacs/init.el +++ b/dotfiles-darwin/emacs/init.el @@ -15,3 +15,8 @@ (when my/night-theme (load-theme my/night-theme :no-confirm :no-enable)) (run-at-time nil (* 15 60) #'my/maybe-switch-theme my/day-theme my/night-theme #'my/macos-dark-p))) + + +;; “Window” Management + +(keymap-global-set "C-c l" #'my/resize-frame) -- cgit v1.2.3-70-g09d2