1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

feat: enable screensharing in hyprland

This commit is contained in:
oddlama 2024-06-05 00:51:56 +02:00
parent e0f0268dc0
commit c15908f0c9
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 12 additions and 1 deletions

View file

@ -52,7 +52,10 @@ in
"gnome-keyring" "gnome-keyring"
]; ];
}; };
extraPortals = [pkgs.xdg-desktop-portal-gtk]; extraPortals = [
pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
];
}; };
stylix = { stylix = {

View file

@ -1,9 +1,11 @@
{pkgs, ...}: { {pkgs, ...}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
discord discord
webcord
]; ];
home.persistence."/state".directories = [ home.persistence."/state".directories = [
".config/discord" # Bad Discord! BAD! Saves its state in .config tststs ".config/discord" # Bad Discord! BAD! Saves its state in .config tststs
".config/WebCord" # You too, WebCord!
]; ];
} }

View file

@ -108,17 +108,23 @@
general = { general = {
gaps_in = 1; gaps_in = 1;
gaps_out = 0; gaps_out = 0;
allow_tearing = true;
}; };
debug.disable_logs = false; debug.disable_logs = false;
misc = { misc = {
vfr = 1;
vrr = 1;
disable_hyprland_logo = true; disable_hyprland_logo = true;
mouse_move_focuses_monitor = false; mouse_move_focuses_monitor = false;
}; };
}; };
extraConfig = extraConfig =
# TODO: env = WLR_DRM_NO_ATOMIC,1
'' ''
windowrulev2 = immediate, class:^(cs2)$
binds { binds {
focus_preferred_method = 1 focus_preferred_method = 1
} }