diff options
author | Sisiutl <sisiutl@egregore.fun> | 2024-11-07 21:23:27 +0100 |
---|---|---|
committer | Sisiutl <sisiutl@egregore.fun> | 2024-11-07 21:23:27 +0100 |
commit | 0a616d8ed652683b95bcb9ed292065b2c4fb1f2a (patch) | |
tree | 7a78c8b23caf6cd90834f4dfd04f9621cb603e93 /sigils/packages/hyprland.scm | |
parent | 57d47ad4f05cb6cdc4c3a21b08199ebf5098ac18 (diff) |
add plugin infrastructure for hyprland
Diffstat (limited to 'sigils/packages/hyprland.scm')
-rw-r--r-- | sigils/packages/hyprland.scm | 51 |
1 files changed, 48 insertions, 3 deletions
diff --git a/sigils/packages/hyprland.scm b/sigils/packages/hyprland.scm index 5488969..32a599f 100644 --- a/sigils/packages/hyprland.scm +++ b/sigils/packages/hyprland.scm @@ -28,8 +28,6 @@ #:use-module (gnu packages compression) #:use-module (gnu packages gnome) #:use-module (gnu packages cpp) - ;; #:use-module (gnu packages bash) - ;; #:use-module (gnu packages base) #:use-module (gnu packages python)) ;;; To upstream before the heat death of the universe @@ -98,6 +96,8 @@ instruction set architectures.") ;;; Hyprland +(define hyprland-version "0.44.1") + (define-public hyprutils (package (name "hyprutils") @@ -257,7 +257,7 @@ replacement for XCursor.") (define-public hyprland (package (name "hyprland") - (version "0.44.1") + (version hyprland-version) (home-page "https://hyprland.org/") (source (origin @@ -306,3 +306,48 @@ replacement for XCursor.") (synopsis "Independent, dynamic tiling Wayland compositor") (description "Hyprland is a 100% independent, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.") (license license:bsd-3))) + +(define-public hyprsplit + (package + (name "hyprsplit") + (version hyprland-version) + (home-page "https://github.com/shezdy/hyprsplit") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shezdy/hyprsplit") + (commit (string-append "v" version)))) + (sha256 + (base32 "0dvisiff3c69wqfb5xsh4jf8lcm1d1aj0nx8djbl1jfcccfx1q4p")))) + (build-system meson-build-system) + ;; Hyprland plugins need the same inputs as Hyprland, and Hyprland itself + (native-inputs (package-native-inputs hyprland)) + (inputs (modify-inputs (package-inputs hyprland) + (append hyprland))) + (synopsis "awesome / dwm like workspaces for hyprland") + (description "hyprland plugin for separate sets of workspaces on each monitor") + (license license:bsd-3))) + +(define-public split-monitor-workspaces + (let ((hyprpm-pin "7c0cec6e8661facf252b2c974f214b60c4f87466")) + (package + (name "split-monitor-workspaces") + (version hyprland-version) + (home-page "https://github.com/Duckonaut/split-monitor-workspaces") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Duckonaut/split-monitor-workspaces") + (commit hyprpm-pin))) + (sha256 + (base32 "1i6xlpcgqz8xn8hxjynipv84hkpknsszf2h9adpx4ka5hndjg16i")))) + (build-system meson-build-system) + ;; Hyprland plugins need the same inputs as Hyprland, and Hyprland itself + (native-inputs (package-native-inputs hyprland)) + (inputs (modify-inputs (package-inputs hyprland) + (append hyprland))) + (synopsis "awesome / dwm like workspaces for hyprland") + (description "hyprland plugin for separate sets of workspaces on each monitor") + (license license:bsd-3)))) |