about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-05-13T15·38+0100
committerWilliam Carroll <wpcarro@gmail.com>2019-05-13T15·38+0100
commitdac7e40a43ddd7b807e5748e34bff7a5affa996f (patch)
tree0ee8401b49b7ac00334b54656beb29f566eb728d
parent5cb0aebbd332ffd6d68fe2a976b38e64f9e073aa (diff)
Prefer floating lf window
Ensures that the lf instances are floating windows when created.
-rw-r--r--configs/shared/misc/.config/i3/config.shared5
-rw-r--r--configs/shared/misc/.config/lf/marks5
2 files changed, 9 insertions, 1 deletions
diff --git a/configs/shared/misc/.config/i3/config.shared b/configs/shared/misc/.config/i3/config.shared
index 1cf570a82210..b39b634704dc 100644
--- a/configs/shared/misc/.config/i3/config.shared
+++ b/configs/shared/misc/.config/i3/config.shared
@@ -66,6 +66,9 @@ for_window [class="GoogleEmacs" instance="org-protocol-capture"] floating enable
 # ensure Spotify windows float
 for_window [class="Spotify"] floating enable
 
+# ensure `lf` instances float
+for_window [title="lf"] floating enable
+
 # ensure wallpaper
 exec --no-startup-id feh --bg-scale ~/.local/share/wallpaper/cartoon-outdoors.jpg
 
@@ -77,7 +80,7 @@ bindsym $mod+space exec --no-startup-id dmenu_run
 bindsym $mod+t exec --no-startup-id ~/.config/i3/dmenu_timer.sh ~/.local/share/sounds/gong.mp3
 
 # file manager
-bindsym $mod+n exec st -e lf ~/Downloads
+bindsym $mod+n exec st -e lf ~/Dropbox
 
 # clipboard manager
 # NOTE: Ctrl-c is already covered since `clipmenu` listens for X clipboard
diff --git a/configs/shared/misc/.config/lf/marks b/configs/shared/misc/.config/lf/marks
new file mode 100644
index 000000000000..a62bd91b859f
--- /dev/null
+++ b/configs/shared/misc/.config/lf/marks
@@ -0,0 +1,5 @@
+':/usr/local/google/home/wpcarro
+D:~/Dropbox
+c:~/Dropbox/dotfiles/configs
+d:~/Dropbox/dotfiles
+s:~/Pictures/screenshots