Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update link #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down