summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dots/i3-config5
-rw-r--r--emacs/emacs-scripts.sls2
2 files changed, 6 insertions, 1 deletions
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