From 97b7a2c687d5f5cb3bb21bf0ed41540085b2926c Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Sat, 21 Mar 2020 17:42:18 +0100 Subject: [PATCH] Automatic floating nvim when edit text in browser --- dotfiles/i3.org | 1 + dotfiles/qutebrowser.org | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/i3.org b/dotfiles/i3.org index 0032bea..964b09f 100644 --- a/dotfiles/i3.org +++ b/dotfiles/i3.org @@ -150,6 +150,7 @@ To display names or symbols instead of plain workspace numbers you can use somet for_window [class="Yad"] floating enable for_window [title="Bluetooth Devices"] floating enable for_window [title="Simulink Library Browser"] floating enable + for_window [class="Floating"] floating enable #+end_src * Scratchpad diff --git a/dotfiles/qutebrowser.org b/dotfiles/qutebrowser.org index a935b39..8a633d2 100644 --- a/dotfiles/qutebrowser.org +++ b/dotfiles/qutebrowser.org @@ -51,7 +51,7 @@ * Editor #+begin_src python - c.editor.command = ['/usr/bin/termite', '-e', 'nvim {}'] + c.editor.command = ['/usr/bin/termite', '--class="Floating"', '-e', 'nvim {}'] #+end_src * Downloads