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:
parent
e0f0268dc0
commit
c15908f0c9
3 changed files with 12 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
|
@ -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!
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue