From 8db6f098e1118ac526d5c5397e431e2a50281d27 Mon Sep 17 00:00:00 2001 From: Leway Colin Date: Fri, 24 Jun 2022 17:53:46 +0800 Subject: [PATCH] Update link --- README.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.org b/README.org index 910ff0b5..099a5e80 100644 --- a/README.org +++ b/README.org @@ -284,7 +284,7 @@ Why use modifier keys to start a program if there is no active window? I'm using It would also be possible to use a single config file and check for every single key whether the desktop is empty, but this would be uglier, so I haven't bothered trying it. The approach I'm using doesn't usually cause problems, and I've mostly (completely I think) prevented rapid changes between an empty and non-empty desktop (e.g. dropdown toggling) from resulting in the wrong sxhkd config being loaded. The only annoyance with this is that sxhkd configs can't source other configs, so I have all the normal keybindings replicated in the new sxhkd config. -See my [[file:./common/.config/bspwm/bspwmrc][bspwmrc]] and the corresponding [[file:./scripts/bin/bspwm/maybe_reload_sxhkd][script]]. +See my [[file:./common/.config/bspwm/bspwmrc][bspwmrc]] and the corresponding [[file:./scripts/bin/wm/maybe_reload_sxhkd][script]]. ** Use Ranger/Dired Instead of Default GUI Popup for File Saving Pentadactyl already has :w and ;s, which allow for typing out file paths with tab completion. This is cumbersome especially for deeply nested directories. I used to just use an alias to open ranger in my downloads folder and save there automatically. I found even then that I didn't always get around to moving stuff, so now I have an autocommand to send the file name on download to a script which will open a floating terminal with ranger running and pass the file location to ranger's --selectfile and cut it (see [[file:./scripts/bin/ranger/dl_move][dl_move]]). The script also works with dired which when used with emacsclient can potentially start a lot faster than ranger. Qutebrowser doesn't currently have a way to replicate this autocommand, but you can use a script to open the most recent download.