diff --git a/README.md b/README.md index 0d40a0a..ba2135a 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ Please Avoid scripts that require cloning and building packages from source. |Script | Description | Dependencies | Notes | |:--:|:--:|:--:|:--:| -|Contacts Importer| Allows to import contacts from a vcard file to GNOME Contacts. Can work with a UI and from command line interface|`yad`, `syncevolution`, `libnotify-bin`, `Evolution Data Server`| This script will cease to exist when this https://gitlab.gnome.org/GNOME/gnome-contacts/-/merge_requests/105 is merged into GNOME Contacts and this feature is present in GNOME Contacts version for the Librem 5. | -|Screenshot| Allows to take screenshots in the Librem 5 phone|`yad`, `grim`, `libnotify-bin`| This script will probably be removed from this package when the feature to make a screenshot is present in Phosh. | -|Scale the screen| A simple application to scale de screen| `wlr-randr`| | +|Contacts Importer| Allows to import contacts from a vcard file to GNOME Contacts. Can work with a UI and from command line interface|`yad`, `syncevolution`, `libnotify-bin`, `Evolution Data Server`| This script will be removed from this paclage when the version of GNOME-Contacts available in PureOS supports importing contacts from a vcard file. | +|Screenshot| Allows to take screenshots in the Librem 5 phone|`yad`, `grim`, `libnotify-bin`, `xdg-user-dirs`| This script will be removed from this package when there is a native app that can take screenshots in `Phosh`. | +|Scale the screen| A simple application to scale the screen| `wlr-randr`, `yad` | This script will be removed from this package when `phosh` has better support for screen scaling.| diff --git a/debian/changelog b/debian/changelog index dd10b66..573f638 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +librem5-goodies (0.0.6) amber-phone; urgency=medium + + * New upstream release. + - Make screenshot script l10n friendy, closes: #13 + - d/control: add dependency; xdg-user-dirs + - Add scale the screens support for QEMU image closes: #12 + + -- João Azevedo Sun, 18 Apr 2021 13:33:50 +0200 + librem5-goodies (0.0.5) amber-phone; urgency=medium * New upstream release. diff --git a/debian/control b/debian/control index 2b1e9d4..ef70b0a 100644 --- a/debian/control +++ b/debian/control @@ -19,6 +19,7 @@ Depends: libnotify-bin, syncevolution, yad, + xdg-user-dirs, wlr-randr, ${misc:Depends}, Description: Librem 5 Goodies diff --git a/l5-screenshot b/l5-screenshot index f430806..a4c61cb 100755 --- a/l5-screenshot +++ b/l5-screenshot @@ -24,7 +24,7 @@ esac #Variable -SCREENSHOT="/home/$USER/Pictures/$(date +%Y-%m-%d-%H%M%S).png" +SCREENSHOT="$(xdg-user-dir PICTURES)/$(date +%Y-%m-%d-%H%M%S).png" if [ -e /usr/bin/yad ]; then INPUT=$(yad --title Screenshot --text="Take screenshot after X seconds" --form --field=filename:SFL --field=seconds:NUM "$SCREENSHOT" "5" --focus-field=2)