From 91807c98ede58a823498a67479365e2389f3c96a Mon Sep 17 00:00:00 2001 From: vanten-s Date: Wed, 13 Mar 2024 22:41:08 +0100 Subject: [PATCH] Fixed pipewire --- configuration.nix | 13 ++++++++++--- dotfiles/hypr/hyprland.conf | 8 ++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index d868927..7535099 100644 --- a/configuration.nix +++ b/configuration.nix @@ -66,9 +66,9 @@ in { packages = with pkgs; []; }; - hardware.pulseaudio.enable = true; - hardware.pulseaudio.support32Bit = true; - nixpkgs.config.pulseaudio = true; + # hardware.pulseaudio.enable = true; + # hardware.pulseaudio.support32Bit = true; + # nixpkgs.config.pulseaudio = true; programs.zsh.enable = true; # Allow unfree packages @@ -133,6 +133,13 @@ in { curl expat ]; + security.rtkit.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + }; services.pcscd.enable = true; services.locate = { diff --git a/dotfiles/hypr/hyprland.conf b/dotfiles/hypr/hyprland.conf index 8cfcc44..9516c67 100644 --- a/dotfiles/hypr/hyprland.conf +++ b/dotfiles/hypr/hyprland.conf @@ -47,6 +47,7 @@ decoration { enabled = true size = 5 passes = 2 + special = true } drop_shadow = yes @@ -118,6 +119,7 @@ bind = $mainMod, D, exec, dmenu_path | fuzzel -d | sh bind = $mainMod SHIFT, P, exec, ~/scripts/password-select.sh bind = $mainMod SHIFT, U, exec, ~/scripts/usernames.sh bind = $mainMod SHIFT, S, exec, grimblast save area ss.png +bind = $mainMod SHIFT, R, forcerendererreload bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, F, fakefullscreen @@ -164,3 +166,9 @@ bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow + +windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ +windowrulev2 = noanim,class:^(xwaylandvideobridge)$ +windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ +windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$ +windowrulev2 = noblur,class:^(xwaylandvideobridge)$