428488f11d
- Implemented a modular gaming configuration with a local games list. - Added dynamic window rules for games: monitor 0, dedicated 'gaming' workspace, fullscreen, immediate mode, and stayfocused. - Enabled 'allow_tearing' to support immediate mode for reduced latency. - Created a dedicated 'name:gaming' workspace bound to monitor 0 with a 'SUPER+G' shortcut. - Enabled 'workspace_back_and_forth' for intuitive workspace toggling.
39 lines
783 B
Nix
39 lines
783 B
Nix
{myConfig, ...}: {
|
|
wayland.windowManager.hyprland.settings = {
|
|
general = {
|
|
gaps_in = 5;
|
|
gaps_out = 15;
|
|
layout = "dwindle";
|
|
allow_tearing = true;
|
|
};
|
|
decoration = {
|
|
rounding = 0;
|
|
active_opacity = 0.99;
|
|
inactive_opacity = 0.70;
|
|
shadow = {
|
|
enabled = true;
|
|
range = 2;
|
|
render_power = 3;
|
|
color = "rgba(1a1a1aee)";
|
|
};
|
|
blur = {
|
|
enabled = true;
|
|
size = 8;
|
|
passes = 2;
|
|
special = true;
|
|
brightness = 0.60;
|
|
contrast = 0.75;
|
|
};
|
|
};
|
|
monitor = myConfig.hyprland.monitors;
|
|
dwindle = {
|
|
pseudotile = true;
|
|
preserve_split = true;
|
|
smart_split = false;
|
|
};
|
|
master = {
|
|
new_status = "master";
|
|
};
|
|
};
|
|
}
|