discord: attempt to enable streaming on hyprland

This commit is contained in:
Christoph Hollizeck 2024-10-20 22:27:47 +02:00
parent 1a4fa215d0
commit 0c422b5cb1
3 changed files with 23 additions and 2 deletions

View file

@ -16,5 +16,9 @@ in
enable = mkBoolOpt false "Whether or not to enable basic configuration"; enable = mkBoolOpt false "Whether or not to enable basic configuration";
}; };
config = mkIf cfg.enable { environment.systemPackages = with pkgs; [ discord ]; }; config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
discord
];
};
} }

View file

@ -15,5 +15,14 @@ in
enable = mkBoolOpt false "Whether or not to enable obs-studio"; enable = mkBoolOpt false "Whether or not to enable obs-studio";
}; };
config = mkIf cfg.enable { environment.systemPackages = with pkgs; [ obs-studio ]; }; config = mkIf cfg.enable {
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-move-transition
];
};
};
} }

View file

@ -108,6 +108,7 @@ in
]; ];
exec-once = [ exec-once = [
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"waybar" "waybar"
"dunst" "dunst"
"systemctl --user start plasma-polkit-agent" "systemctl --user start plasma-polkit-agent"
@ -121,6 +122,13 @@ in
windowrulev2 = [ windowrulev2 = [
#stean is a bit wierd, since it opens in multiple phases, so just move the last window to the workspace #stean is a bit wierd, since it opens in multiple phases, so just move the last window to the workspace
"workspace 3 silent, class:^(steam)$, title:^(Steam)" "workspace 3 silent, class:^(steam)$, title:^(Steam)"
# make xwaylandvideobridge window invisible
"opacity 0.0 override, class:^(xwaylandvideobridge)$"
"noanim, class:^(xwaylandvideobridge)$"
"noinitialfocus, class:^(xwaylandvideobridge)$"
"maxsize 1 1, class:^(xwaylandvideobridge)$"
"noblur, class:^(xwaylandvideobridge)$"
]; ];
general = { general = {