summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-10-18 22:41:41 +0200
committerMarc Coquand <marc@mccd.space>2024-10-18 22:41:41 +0200
commitaf5f003b927dd0a4fbb04c2a34c7dd497ee07311 (patch)
treea89ca1e3b8744f142f080321111448057ff97f82 /emacs
parentbfb548ac44ca5416fda01c01c144d9229808ddbf (diff)
downloadbsd-af5f003b927dd0a4fbb04c2a34c7dd497ee07311.tar.gz
bsd-af5f003b927dd0a4fbb04c2a34c7dd497ee07311.tar.bz2
bsd-af5f003b927dd0a4fbb04c2a34c7dd497ee07311.zip
.
Diffstat (limited to 'emacs')
-rw-r--r--emacs11
1 files changed, 7 insertions, 4 deletions
diff --git a/emacs b/emacs
index bcb1126..d58fa3b 100644
--- a/emacs
+++ b/emacs
@@ -66,13 +66,12 @@
(tab-bar-mode))
(use-package project
- :defer t
- :init
+ :ensure t
+ :config
(add-to-list 'project-switch-commands '(project-shell "Shell")))
(use-package exwm
:init
- (set-window-margins (selected-window) 1 1)
(setq exwm-workspace-number 1
exwm-input-global-keys
`(([?\s-r] . exwm-reset) ;; s-r: Reset (to line-mode).
@@ -107,6 +106,8 @@
mouse-autoselect-window t)
:hook
(;; Make sure titles match X window
+ (server-after-make-frame . (lambda ()
+ (set-window-margins (selected-window) 1 1)))
(exwm-update-title . (lambda ()
(exwm-workspace-rename-buffer
(concat exwm-class-name ":"
@@ -468,6 +469,7 @@
"#emacs"
"#permacomputing"
"#oldcomputerchallenge"
+ "#go-nuts"
"#netbsd"
"#nonguix"
"#guix")))
@@ -557,7 +559,8 @@
:ensure t)
(use-package magit
- :ensure t)
+ :ensure t
+ :demand t)
(use-package magit-extras
:ensure nil)