1
0
forked from extern/nix-config

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.
This commit is contained in:
Donovan Glover 2023-08-01 19:06:08 -04:00
parent d1a78a7a57
commit 9ed706c2a5
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
4 changed files with 4 additions and 12 deletions

View File

@ -2,10 +2,6 @@
inputs = { inputs = {
nixpkgs.url = "github:donovanglover/nixpkgs/personal-unstable"; nixpkgs.url = "github:donovanglover/nixpkgs/personal-unstable";
hyprland = {
url = "github:hyprwm/Hyprland";
};
home-manager = { home-manager = {
url = "github:donovanglover/home-manager/personal-master"; url = "github:donovanglover/home-manager/personal-master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View File

@ -205,7 +205,6 @@ in
windowrulev2 = nodim,title:^(Picture-in-Picture)$ windowrulev2 = nodim,title:^(Picture-in-Picture)$
windowrulev2 = tile,class:^(.qemu-system-x86_64-wrapped)$ windowrulev2 = tile,class:^(.qemu-system-x86_64-wrapped)$
windowrulev2 = opacity ${opacity} ${opacity},class:^(thunar)$ windowrulev2 = opacity ${opacity} ${opacity},class:^(thunar)$
windowrulev2 = bordersize 2,floating:1
# Scroll through existing workspaces with super + scroll # Scroll through existing workspaces with super + scroll
bind = $SUPER, mouse_down, workspace, e+1 bind = $SUPER, mouse_down, workspace, e+1

View File

@ -1,4 +1,4 @@
{ pkgs, hyprland, ... }: { pkgs, ... }:
{ {
services.greetd = { services.greetd = {
@ -12,7 +12,7 @@
}; };
initial_session = { initial_session = {
command = "${hyprland.packages.${pkgs.system}.hyprland}/bin/Hyprland"; command = "${pkgs.hyprland}/bin/Hyprland";
user = "user"; user = "user";
}; };
}; };

View File

@ -1,10 +1,7 @@
{ pkgs, hyprland, ... }: { pkgs, ... }:
{ {
programs.hyprland = { programs.hyprland.enable = true;
enable = true;
package = hyprland.packages.${pkgs.system}.hyprland;
};
i18n.inputMethod.enabled = "fcitx5"; i18n.inputMethod.enabled = "fcitx5";
i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ]; i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ];