diff --git a/README.md b/README.md index 38bb062..1fc783e 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Useful utility scripts. `install.sh` -- install all files in `./src/` to install directory (`/usr/local/bin/`). +`install.sh -o` -- overwrite pre-existing files in destination directory. + `install.sh -u` -- uninstall all files in `./src/` from install directory. ### Dependencies @@ -14,14 +16,10 @@ Useful utility scripts. | Script | Comment | |---|---| -|date-show|Show a time and date notification.| +|date-show|Show a time and date window.| |newbash ["command"]|Create executable `bash` script. Optionally add `command`.| |newsh ["command"]|Create executable `sh` script. Optionally add `command`.| |pam-say |Tells Pamela to say something.| |qutesesh|Open a Qutebrowser session.| -|window-select|Select a window | +|window-select|Use Dmenu to select from all windows.| -## TODO - -* Rename `date-show` to something more general. -* Use installer to create symbolic links instead of copying files. diff --git a/install.sh b/install.sh index d9d0164..77e422d 100755 --- a/install.sh +++ b/install.sh @@ -38,6 +38,7 @@ for _file in ./src/* ; do echo "file present - skipping: $_file" fi elif [ $_uninstall -eq 1 ] ; then + # WARNING - need to ensure $_filename is not empty (/usr/local/bin will be deleted) if [ -n "$_destination" ] ; then echo "uninstalling: $_destination" sudo rm "$_install_dir$_destination"