From 9ed706c2a5bd3025d6471def4367d9c6355dae36 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 1 Aug 2023 19:06:08 -0400 Subject: [PATCH] hyprland: Downgrade to v0.27.0 The white flash when starting hyprland is a deal breaker for me personally and I'd rather not have to deal with it. Should hopefully be fixed in a later release since it seems to be a wlroots issue. --- flake.nix | 4 ---- home/hyprland.nix | 1 - modules/greetd.nix | 4 ++-- modules/hyprland.nix | 7 ++----- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/flake.nix b/flake.nix index b32a5420..3f9e0d92 100644 --- a/flake.nix +++ b/flake.nix @@ -2,10 +2,6 @@ inputs = { nixpkgs.url = "github:donovanglover/nixpkgs/personal-unstable"; - hyprland = { - url = "github:hyprwm/Hyprland"; - }; - home-manager = { url = "github:donovanglover/home-manager/personal-master"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/home/hyprland.nix b/home/hyprland.nix index 7a6f01de..6e5d3fd0 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -205,7 +205,6 @@ in windowrulev2 = nodim,title:^(Picture-in-Picture)$ windowrulev2 = tile,class:^(.qemu-system-x86_64-wrapped)$ windowrulev2 = opacity ${opacity} ${opacity},class:^(thunar)$ - windowrulev2 = bordersize 2,floating:1 # Scroll through existing workspaces with super + scroll bind = $SUPER, mouse_down, workspace, e+1 diff --git a/modules/greetd.nix b/modules/greetd.nix index e9db243c..1c1063d6 100644 --- a/modules/greetd.nix +++ b/modules/greetd.nix @@ -1,4 +1,4 @@ -{ pkgs, hyprland, ... }: +{ pkgs, ... }: { services.greetd = { @@ -12,7 +12,7 @@ }; initial_session = { - command = "${hyprland.packages.${pkgs.system}.hyprland}/bin/Hyprland"; + command = "${pkgs.hyprland}/bin/Hyprland"; user = "user"; }; }; diff --git a/modules/hyprland.nix b/modules/hyprland.nix index 68cca35d..17016f99 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -1,10 +1,7 @@ -{ pkgs, hyprland, ... }: +{ pkgs, ... }: { - programs.hyprland = { - enable = true; - package = hyprland.packages.${pkgs.system}.hyprland; - }; + programs.hyprland.enable = true; i18n.inputMethod.enabled = "fcitx5"; i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ];