From 63bae6785c1218ada399fc6dae9c832bbfb783e9 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Wed, 6 Mar 2024 09:18:53 -0500 Subject: put hyprland on commit until next release due to bugs, added kanshi configs for work monitors --- modules/ryan-packages/wm.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'modules/ryan-packages') diff --git a/modules/ryan-packages/wm.scm b/modules/ryan-packages/wm.scm index 8f3be42..73973fd 100644 --- a/modules/ryan-packages/wm.scm +++ b/modules/ryan-packages/wm.scm @@ -16,6 +16,7 @@ #:use-module (gnu packages check) #:use-module (guix git-download) #:use-module (guix utils) + #:use-module (rosenthal packages wm) #:use-module (ryan-packages gtk) #:use-module (gnu packages wm)) @@ -52,3 +53,38 @@ #:configure-flags #~(list "--wrap-mode=nodownload" "-Dexperimental=true"))) (inputs (modify-inputs (package-inputs waybar) (delete "gtkmm") (prepend gtkmm-ryan))))) ;(prepend python cava catch2 gtkmm))))) ;(native-inputs (modify-inputs (package-native-inputs waybar) (prepend gcc-13))))) + +(define hyprland-unbundle-wlroots-patch + (origin + (method url-fetch) + (uri (string-append "https://github.com/hyprwm/Hyprland" "/raw/" + "13f6f0b923ff3ec94a3bec886c28b90402ceef91" + "/nix/patches/meson-build.patch")) + (sha256 + (base32 "02sq5ymxxrxp93mccafc4ilpsvs4m8bxc3whp7bcc5v9dx41va8k")))) + +(define-public hyprland-temp + (package + (inherit hyprland) + (version "12985fa0d8e43b1e33326dfb49be681970dfaea5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hyprwm/Hyprland") + (commit version))) + (file-name (git-file-name "hyprland" version)) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "meson.build" + ((".*hyprpm/src.*") "")) + (for-each delete-file-recursively + '("hyprpm" + "subprojects")) + (copy-file "src/version.h.in" "src/version.h"))) + (sha256 + (base32 + "13l95h5krmv7syidw9c4gn62ac5qcqg9pmfh6x8ydjws97h05jvz")) + (patches (list hyprland-unbundle-wlroots-patch)))))) + +hyprland-temp -- cgit v1.2.3