Fixed pipewire

This commit is contained in:
vanten-s 2024-03-13 22:41:08 +01:00
parent a9cab71b9b
commit 91807c98ed
2 changed files with 18 additions and 3 deletions

View file

@ -66,9 +66,9 @@ in {
packages = with pkgs; []; packages = with pkgs; [];
}; };
hardware.pulseaudio.enable = true; # hardware.pulseaudio.enable = true;
hardware.pulseaudio.support32Bit = true; # hardware.pulseaudio.support32Bit = true;
nixpkgs.config.pulseaudio = true; # nixpkgs.config.pulseaudio = true;
programs.zsh.enable = true; programs.zsh.enable = true;
# Allow unfree packages # Allow unfree packages
@ -133,6 +133,13 @@ in {
curl curl
expat expat
]; ];
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
services.pcscd.enable = true; services.pcscd.enable = true;
services.locate = { services.locate = {

View file

@ -47,6 +47,7 @@ decoration {
enabled = true enabled = true
size = 5 size = 5
passes = 2 passes = 2
special = true
} }
drop_shadow = yes 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, P, exec, ~/scripts/password-select.sh
bind = $mainMod SHIFT, U, exec, ~/scripts/usernames.sh bind = $mainMod SHIFT, U, exec, ~/scripts/usernames.sh
bind = $mainMod SHIFT, S, exec, grimblast save area ss.png bind = $mainMod SHIFT, S, exec, grimblast save area ss.png
bind = $mainMod SHIFT, R, forcerendererreload
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, F, fakefullscreen bind = $mainMod, F, fakefullscreen
@ -164,3 +166,9 @@ bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging # Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow 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)$