diff options
| author | orahcio <orahcio@gmail.com> | 2026-05-31 23:51:59 -0300 |
|---|---|---|
| committer | Sughosha <sughosha@disroot.org> | 2026-06-03 16:14:05 +0530 |
| commit | c92aded726bb12480ebebfe4b2dc9ae93f2bc9c9 (patch) | |
| tree | f559bdf6cd5c0cda37416765313bfc1e47c77945 /gnu/packages | |
| parent | 91e31dcaa84ddf9710513fddf5294709ddac43e6 (diff) | |
gnu: Add wawa.
* gnu/packages/wm.scm (wawa): New variable.
Merges: !9005
Change-Id: I31ce64c63ebd826e9998f962ff57d453798bc900
Signed-off-by: Sughosha <sughosha@disroot.org>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/wm.scm | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 5671ae36cee..455ff2c9cc0 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm | |||
| @@ -205,6 +205,7 @@ | |||
| 205 | #:use-module (gnu packages rust-apps) | 205 | #:use-module (gnu packages rust-apps) |
| 206 | #:use-module (gnu packages serialization) | 206 | #:use-module (gnu packages serialization) |
| 207 | #:use-module (gnu packages sphinx) | 207 | #:use-module (gnu packages sphinx) |
| 208 | #:use-module (gnu packages stb) | ||
| 208 | #:use-module (gnu packages suckless) | 209 | #:use-module (gnu packages suckless) |
| 209 | #:use-module (gnu packages texinfo) | 210 | #:use-module (gnu packages texinfo) |
| 210 | #:use-module (gnu packages textutils) | 211 | #:use-module (gnu packages textutils) |
| @@ -2800,6 +2801,58 @@ functionality to display information about the most commonly used services.") | |||
| 2800 | a running cat (runcat) for CPU usage.") | 2801 | a running cat (runcat) for CPU usage.") |
| 2801 | (license license:expat))) | 2802 | (license license:expat))) |
| 2802 | 2803 | ||
| 2804 | (define-public wawa | ||
| 2805 | (package | ||
| 2806 | (name "wawa") | ||
| 2807 | ;; Package has no release tag, using latest commit | ||
| 2808 | (properties '((commit . "249f43876d05f73cc1ba9c51235a32f058478e8c") | ||
| 2809 | (revision . "0"))) | ||
| 2810 | ;; Makefile shows 1.0 version | ||
| 2811 | (version (git-version "1.0.0" | ||
| 2812 | (assoc-ref properties 'revision) | ||
| 2813 | (assoc-ref properties 'commit))) | ||
| 2814 | (source | ||
| 2815 | (origin | ||
| 2816 | (method git-fetch) | ||
| 2817 | (uri (git-reference | ||
| 2818 | (url "https://codeberg.org/sewn/wawa") | ||
| 2819 | (commit (assoc-ref properties 'commit)))) | ||
| 2820 | (file-name (git-file-name name version)) | ||
| 2821 | (sha256 | ||
| 2822 | (base32 "0xvv9px2cmdr2lwcsly2c8y175z9cm5zhyay2k00cphxh59pkwfx")) | ||
| 2823 | (snippet '(begin | ||
| 2824 | (for-each delete-file | ||
| 2825 | '("stb_image.h" | ||
| 2826 | "stb_image_resize2.h")))))) | ||
| 2827 | (build-system gnu-build-system) | ||
| 2828 | (arguments | ||
| 2829 | (list | ||
| 2830 | #:tests? #f ;no tests provided | ||
| 2831 | #:make-flags | ||
| 2832 | #~(list (string-append "CC=" #$(cc-for-target)) | ||
| 2833 | (string-append "CPATH=" #$(this-package-input "stb")) | ||
| 2834 | (string-append "PREFIX=" | ||
| 2835 | #$output)) | ||
| 2836 | #:phases | ||
| 2837 | #~(modify-phases %standard-phases | ||
| 2838 | (delete 'configure)))) | ||
| 2839 | (native-inputs (list pkg-config)) | ||
| 2840 | (inputs (list stb wayland wayland-protocols)) | ||
| 2841 | (home-page "https://codeberg.org/sewn/wawa") | ||
| 2842 | (synopsis "Distinctive simpler wlroots wallpaper setter") | ||
| 2843 | (description | ||
| 2844 | "Wawa is a minimal, hackable, and distinctive Wayland wallpaper | ||
| 2845 | setter utilizing @code{stb_image} that targets @code{wlr-layer-shell} | ||
| 2846 | supported compositors, featuring tiling, spreading across monitors, | ||
| 2847 | along with fill, fit and stretching the wallpaper. | ||
| 2848 | |||
| 2849 | In wawa, the image is loaded only for monitors that need it, and is | ||
| 2850 | immediately freed when all monitors have been configured; this keeps | ||
| 2851 | the memory usage of wawa extremely low (7x less than wbg, almost 24x | ||
| 2852 | less than swaybg), which may be a performance hit if you are constantly | ||
| 2853 | resizing the monitor.") | ||
| 2854 | (license license:expat))) | ||
| 2855 | |||
| 2803 | (define-public wlclock | 2856 | (define-public wlclock |
| 2804 | (package | 2857 | (package |
| 2805 | (name "wlclock") | 2858 | (name "wlclock") |
