summaryrefslogtreecommitdiff
path: root/sigils
diff options
context:
space:
mode:
authorSisiutl <sisiutl@egregore.fun>2024-11-15 02:51:02 +0100
committerSisiutl <sisiutl@egregore.fun>2024-11-15 02:51:02 +0100
commit98258beb9eb2c47f5bec9483bf06a5307d7d659f (patch)
tree60611aeb24ffbbda721bb4129ed22d818f98c6e4 /sigils
parente2b24fe0d1a0bcecf6412212fb2db9adab0e2a83 (diff)
hyprland official plugins
Diffstat (limited to 'sigils')
-rw-r--r--sigils/packages/hyprland.scm45
1 files changed, 45 insertions, 0 deletions
diff --git a/sigils/packages/hyprland.scm b/sigils/packages/hyprland.scm
index 3ef0f48..58949d2 100644
--- a/sigils/packages/hyprland.scm
+++ b/sigils/packages/hyprland.scm
@@ -486,3 +486,48 @@ screen on Hyprland.")
(synopsis "awesome / dwm like workspaces for hyprland")
(description "hyprland plugin for separate sets of workspaces on each monitor")
(license license:bsd-3))))
+
+(define (hyprland-plugins plugin syn)
+ (package
+ (name plugin)
+ (version hyprland-version)
+ (home-page "https://hyprland.org/")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://code.hyprland.org/hyprwm/hyprland-plugins")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "0nfxcr6mxjvrja0jdsrrlyixfaaqdnfszp7bh8x8cqz9qp167sc4"))))
+ (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)))
+ (arguments (list ;#:build-type "release"
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir-plugin
+ (lambda _
+ (chdir #$plugin))))))
+ (synopsis syn)
+ (description "This repo houses official plugins for Hyprland.")
+ (license license:bsd-3)))
+
+(define-public borders-plus-plus
+ (hyprland-plugins "borders-plus-plus" "adds one or two additional borders to windows"))
+
+(define-public csgo-vulkan-fix
+ (hyprland-plugins "csgo-vulkan-fix" "fixes custom resolutions on CS:GO with -vulkan"))
+
+(define-public hyprbars
+ (hyprland-plugins "hyprbars" "adds title bars to windows"))
+
+(define-public hyprexpo
+ (hyprland-plugins "hyprexpo" "adds an expo-like workspace overview"))
+
+(define-public hyprtrail
+ (hyprland-plugins "hyprtrail" "adds smooth trails behind moving windows"))
+
+(define-public hyprwinwrap
+ (hyprland-plugins "hyprwinwrap" "clone of xwinwrap, allows you to put any app as a wallpaper"))