diff --git a/devices/wim/config/ags/js/osd/main.js b/devices/wim/config/ags/js/osd/main.js index 108dbab3..7842061f 100644 --- a/devices/wim/config/ags/js/osd/main.js +++ b/devices/wim/config/ags/js/osd/main.js @@ -43,6 +43,7 @@ export default () => { stack.resetTimer = () => { // Each osd calls resetTimer once at startup + // FIXME: doesn't seem to work anymore, find alternative if (setup <= stack.items.length + 1) { ++setup; diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 8ae9ee75..125b2447 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -29,12 +29,6 @@ in { enable = true; package = hyprland.packages.x86_64-linux.default; - plugins = - [] - ++ (optionals (osConfig.hardware.sensor.iio.enable) [ - hyprgrass.packages.${pkgs.system}.default - ]); - settings = { env = [ @@ -97,6 +91,10 @@ in { ]) ++ (optionals (osConfig.services.gnome.gnome-keyring.enable) [ "gnome-keyring-daemon --start --components=secrets" + ]) + # FIXME: https://github.com/horriblename/hyprgrass/issues/65 + ++ (optionals (osConfig.hardware.sensor.iio.enable) [ + "sleep 3; hyprctl plugin load ${hyprgrass.packages.${pkgs.system}.default}/lib/libhyprgrass.so" ]); windowrule = [