Changed dot-config to .config
This commit is contained in:
parent
9ea93f8144
commit
0ab0f24015
118 changed files with 29 additions and 980 deletions
13
misc/.local/bin/dlkiller
Executable file
13
misc/.local/bin/dlkiller
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env sh
|
||||
# For the programs that create a ~/Downloads folder on startup (ie: spotify, zoom)
|
||||
# Look in the program settings to redirect the Downloads folder before trying this solution
|
||||
# Usage: 'dlkiller $my-program'
|
||||
# Must have $SHELL variable set to your preferred shell
|
||||
|
||||
$1 &
|
||||
|
||||
sleep 4
|
||||
if [ -d ~/Downloads ] && [ -z "$(ls -A ~/Downloads)" ]; then
|
||||
rm -r ~/Downloads
|
||||
fi
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue