feat: add ability to set specific layout per workspace.

This commit is contained in:
CronyAkatsuki 2026-02-04 11:41:22 +01:00
parent 0209a1bb0b
commit 7c380cc923
3 changed files with 81 additions and 28 deletions

View file

@ -107,6 +107,8 @@ in {
systemd.enable = false; # Using USWM globally
plugins = [inputs.hyprWorkspaceLayouts.packages.${pkgs.stdenv.hostPlatform.system}.default];
settings = {
"$mod" = "SUPER";
"$menu" = "tofi";
@ -123,6 +125,13 @@ in {
"hyprctl monitors | grep 'HDMI' && hyprctl keyword monitor 'eDP-1, disable'"
];
# Setup plugins
plugin = {
wslayout = {
default_layout = "master";
};
};
cursor = {
no_break_fs_vrr = 1;
no_hardware_cursors = 1;
@ -168,7 +177,7 @@ in {
border_size = 1;
gaps_in = 3;
gaps_out = 6;
layout = "master";
layout = "workspacelayout";
allow_tearing = true;
};