fix(hypr): declare plugins correctly
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-01-23 18:02:15 -05:00
parent b5fa2afbe8
commit bb830b2ceb
2 changed files with 4 additions and 10 deletions

View file

@ -6,18 +6,15 @@ self: {
}: let
inherit (self.lib.hypr) mkBind;
inherit (lib) mkBefore mkIf;
inherit (lib) mkIf;
cfg = osConfig.roles.desktop;
in {
config = mkIf cfg.enable {
wayland.windowManager.hyprland = {
# FIXME: https://github.com/hyprwm/Hyprland/issues/9131
# plugins = [self.inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo];
plugins = [self.inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo];
settings = {
exec-once = mkBefore ["hyprctl plugins load ${self.inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo}/lib/libhyprexpo.so"];
plugin.hyprexpo = {
columns = 3;
gap_size = 5;

View file

@ -6,18 +6,15 @@ self: {
}: let
inherit (self.lib.hypr) mkBind;
inherit (lib) map mkBefore mkIf;
inherit (lib) mkIf;
cfg = osConfig.roles.desktop;
in {
config = mkIf (cfg.enable && cfg.isTouchscreen) {
wayland.windowManager.hyprland = {
# FIXME: https://github.com/hyprwm/Hyprland/issues/9131
# plugins = [self.inputs.hyprgrass.packages.${pkgs.system}.default];
plugins = [self.inputs.hyprgrass.packages.${pkgs.system}.default];
settings = {
exec-once = mkBefore ["hyprctl plugins load ${self.inputs.hyprgrass.packages.${pkgs.system}.default}/lib/libhyprgrass.so"];
plugin.touch_gestures = {
# The default sensitivity is probably too low on tablet screens,
# I recommend turning it up to 4.0