Commit aa8da5d06868
Changed files (2)
dots
config
niri
home
common
dev
dots/config/niri/config.kdl
@@ -130,6 +130,14 @@ window-rule {
default-column-width { fixed 800; }
}
+// Open Emacs org-capture frame as floating and centered
+window-rule {
+ match app-id="emacs" title="capture"
+ open-floating true
+ default-column-width { proportion 0.4; }
+ default-window-height { proportion 0.55; }
+}
+
window-rule {
match is-floating=true
shadow {
home/common/dev/emacs.nix
@@ -6,7 +6,7 @@
let
org-capture = pkgs.writeScriptBin "org-capture" ''
#!${pkgs.stdenv.shell}
- emacsclient -n -c -F '((name . "capture") (width . 150) (height . 90) (vde/window-popup-frame . t))' -e '(org-capture)'
+ emacsclient -c -F '((name . "capture") (width . 150) (height . 90) (vde/window-popup-frame . t))' -e '(org-capture)' &
'';
et = pkgs.writeScriptBin "et" ''
#!${pkgs.stdenv.shell}