Package Details: wlsunset-git 0.1.0.r0.0569fb4-1

Git Clone URL: https://aur.archlinux.org/wlsunset-git.git (read-only, click to copy)
Package Base: wlsunset-git
Description: Day/night gamma adjustments for Wayland
Upstream URL: https://git.sr.ht/~kennylevinsen/wlsunset
Keywords: wayland
Licenses: MIT
Conflicts: wlsunset
Provides: wlsunset
Submitter: kozak-iv
Maintainer: kozak-iv
Last Packager: kozak-iv
Votes: 12
Popularity: 0.040873
First Submitted: 2020-09-14 18:31 (UTC)
Last Updated: 2020-11-02 06:17 (UTC)

Required by (1)

Sources (1)

Latest Comments

LordZeus commented on 2024-04-18 06:22 (UTC) (edited on 2024-04-18 06:23 (UTC) by LordZeus)

Works fantastic. I added the following lines to my hyprland conf to bind to how I like it:

(My $mainMod is set to Alt)

bind = $mainMod SUPER, F9, exec, wlsunset -T 4001
bind = $mainMod SUPER, F8, exec, pkill wlsunset

F8/F9 are my brightness keys on my laptop, so this will toggle a maximum blue light filter/remove it.

krathalan commented on 2020-11-02 19:09 (UTC)

Thanks! :)

kozak-iv commented on 2020-11-02 06:29 (UTC)

Done, fixes applied

krathalan commented on 2020-11-01 22:55 (UTC)

Building in a clean chroot (makechrootpkg) doesn't work because not all the dependencies are specified. You should add wayland-protocols to depends and scdoc to makedepends. Here is a patch:

diff --git a/PKGBUILD b/PKGBUILD
index 3bae187..919351b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@ pkgdesc="Day/night gamma adjustments for Wayland"
 arch=('x86_64')
 url="https://git.sr.ht/~kennylevinsen/wlsunset"
 license=('MIT')
-depends=('wayland')
-makedepends=('git' 'meson' 'ninja')
+depends=('wayland' 'wayland-protocols')
+makedepends=('git' 'meson' 'ninja' 'scdoc')
 provides=('wlsunset')
 conflicts=('wlsunset')
 source=("$pkgname::git+$url")

kozak-iv commented on 2020-10-22 05:59 (UTC)

done

j.r commented on 2020-10-21 20:26 (UTC) (edited on 2020-10-21 20:27 (UTC) by j.r)

Now that 0.1.0 was tagged (https://git.sr.ht/~kennylevinsen/wlsunset/refs/0.1.0) you should maybe switch to a pkgver generation with tags (according to /usr/share/pacman/PKGBUILD-vcs.proto):

printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"