From 106e41fb5ce8329ac29f9fd415a84c37626d7a74 Mon Sep 17 00:00:00 2001 From: Casper Date: Mon, 23 Dec 2024 12:32:22 -0700 Subject: added org capture prompt in i3 --- dots/i3-config | 5 ++++- emacs/emacs-scripts.sls | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dots/i3-config b/dots/i3-config index 2f4bb0a..bc58ae7 100644 --- a/dots/i3-config +++ b/dots/i3-config @@ -278,6 +278,9 @@ for_window [title="Tor Browser"] floating enable # Make any rofi window float for_window [title="rofi"] floating enable +# Make org capture windows float +for_window [title="doom-capture"] floating enable + # Make sure all xdg autostart entries are started, this is (among other things) # necessary to make sure transient vm's come up exec --no-startup-id qubes-i3-xdg-autostart @@ -300,4 +303,4 @@ bindsym XF86Display exec --no-startup-id xrandr --auto bindsym $mod+Control+l exec blurlock # Execute org-capture in 'emacs-org' -bindsym $mod+c exec qvm-run emacs-org 'emacsclient --eval '(+org-capture/open-frame INITIAL-INPUT-KEY)' +bindsym $mod+c exec org-capture diff --git a/emacs/emacs-scripts.sls b/emacs/emacs-scripts.sls index 4722aaa..75613fe 100644 --- a/emacs/emacs-scripts.sls +++ b/emacs/emacs-scripts.sls @@ -8,3 +8,5 @@ emacs--move-scripts: - source: salt://scripts/fetch-salt-from-emacs.sh - /usr/bin/push-salt-to-emacs: - source: salt://scripts/push-salt-to-emacs.sh + - /usr/bin/org-capture: + - source: salt://scripts/org-capture.sh -- cgit v1.2.3