Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
6ea44a5bf0 | |||
c5cc8bc4ff | |||
8760f14b9e |
3 changed files with 3 additions and 2 deletions
|
@ -51,4 +51,4 @@ Upload clipboard image:
|
|||
- Shows a preview of the uploaded image.
|
||||
|
||||
## License
|
||||
[MIT](LICENSE)
|
||||
[BSD-3](LICENSE)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VENV_DIR="$SCRIPT_DIR/.venv"
|
||||
VENV_DIR="$HOME/.config/grabIT/.venv"
|
||||
|
||||
setup_venv() {
|
||||
if [[ ! -d "$VENV_DIR" ]]; then
|
||||
|
|
1
main.sh
1
main.sh
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
[[ "$SCRIPT_DIR" == "/usr/bin" ]] && SCRIPT_DIR="/usr/share/grabit"
|
||||
|
||||
source "$SCRIPT_DIR/helpers/variables.sh"
|
||||
source "$SCRIPT_DIR/helpers/installer.sh"
|
||||
|
|
Loading…
Add table
Reference in a new issue