commit 0962d3f2ea6a7b5a0eb6d318d19b6a4fc2a327da
parent f50c147bb62ddb82dc613103fb1d1884f301257b
Author: Vincent Demeester <vincent@sbr.pm>
Date: Sun, 24 Mar 2019 12:01:24 +0100
i3: make capture frame floating
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/profiles/assets/bin/capture b/modules/profiles/assets/bin/capture
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
-emacsclient -n -e '(org-capture)'-
\ No newline at end of file
+emacsclient -n -F '((name . "capture") (width . 75) (height . 30))' -e '(org-capture)'
diff --git a/modules/profiles/i3.nix b/modules/profiles/i3.nix
@@ -194,6 +194,8 @@ in
for_window [instance="metask"] move scratchpad; [instance="metask"] scratchpad show; move position center; move scratchpad
bindcode $mod+49 [instance="metask"] scratchpad show
+ for_window [title="capture"] floating enable;
+
## hide those chats !
for_window [class="Slack"] move scratchpad; [class="Slack"] scratchpad show
bindcode $mod+Shift+49 [class="Slack"] scratchpad show