Package Details: stretchly-git 1545.bedd18c-1

Git Clone URL: https://aur.archlinux.org/stretchly-git.git (read-only, click to copy)
Package Base: stretchly-git
Description: The break time reminder app
Upstream URL: https://hovancik.net/stretchly
Licenses: BSD
Conflicts: stretchly, stretchly-bin
Provides: stretchly
Submitter: lkrms
Maintainer: lkrms
Last Packager: lkrms
Votes: 1
Popularity: 0.000000
First Submitted: 2020-11-03 07:27 (UTC)
Last Updated: 2024-08-19 03:56 (UTC)

Latest Comments

« First ‹ Previous 1 2

FuzzyMidnight commented on 2022-02-25 19:03 (UTC)

I noticed upstream implemented a workaround to the no text electron issue. Can you revert back to system electron? https://github.com/hovancik/stretchly/pull/1073

FuzzyMidnight commented on 2021-07-20 00:18 (UTC)

The systemd unit was added upstream in examples/stretchly.service

FuzzyMidnight commented on 2021-06-26 19:22 (UTC)

nvm is a shell function and which can only resolve commands

Thanks for adding. Maybe the author was lazy since it works on zsh. You should update the wiki with the better test example.

I'll look into submitting PR upstream - good call, thanks.

lkrms commented on 2021-06-21 06:02 (UTC)

Thanks for the feedback, @slimb. The _ensure_local_nvm example you referenced doesn't work as-is, because nvm is a shell function and which can only resolve commands, but I've added a corrected version to prepare() and build() for the benefit of those not building with chroot.

Thanks for the systemd unit, too. I won't add this to the PKGBUILD but you should open a PR on Stretchly's Github and see what they think of it :)

FuzzyMidnight commented on 2021-06-20 17:25 (UTC)

Here's a systemd user unit, which could for example, launch stretchly on startup.

If you add it to the PKGBUILD, it should be placed in /usr/lib/systemd/user/stretchly.service. If it doesn't get added to the PKGBUILD, users wanting to install it manually should place in ~/.config/systemd/user/stretchly.service

[Unit]
Description="Start stretchly"
After=default.target

[Service]
Type=simple
ExecStartPre=/bin/sleep 1
ExecStart=/usr/bin/stretchly
Restart=on-failure
RestartSec=10
KillMode=process

[Install]
WantedBy=default.target

FuzzyMidnight commented on 2021-06-12 21:33 (UTC) (edited on 2021-06-12 21:33 (UTC) by FuzzyMidnight)

Thanks for the PKGBUILD.

init-nvm.sh needs to be sourced in build() function too

Archwiki has an example function _ensure_local_nvm() which could be used https://wiki.archlinux.org/title/Node.js_package_guidelines#Using_nvm