nixcfg/homeManagerModules/desktop/hyprland/vars.nix
Aly Raffauf 3899be29c3
home/hyprland: remove monitor + tablet config from module (#30)
* home: moved hyprland monitors to config.ar.home.desktop.hyprland.monitors and config.ar.home.desktop.desktop.hyprland.laptopMonitors

* nix fmt

* home/options: update formatting

* home/hyprland: move laptop montiors to hosts/hostname/home.nix

* home/hyprland: move external non-desktop displays to user home configs

* home/hyprland: move monitors to host + home configs

* home/hyprland: add ar.home.desktop.hyprland.tabletMode.tabletSwitches for automatically setting up a list of tablet switches

* nix fmt
2024-07-15 00:14:18 -04:00

49 lines
1.4 KiB
Nix

{
defaultWorkspaces = [1 2 3 4 5 6 7 8 9];
layerRules = ''
# Window-specific rules
layerrule = blur, waybar
layerrule = ignorezero, waybar
layerrule = blur, launcher
layerrule = blur, notifications
layerrule = ignorezero, notifications
layerrule = blur, logout_dialog
layerrule = blur, swayosd
layerrule = ignorezero, swayosd
'';
modifier = "SUPER";
windowManagerBinds = {
down = "d";
left = "l";
right = "r";
up = "u";
h = "l";
j = "d";
k = "u";
l = "r";
};
windowRules = ''
windowrulev2 = center(1),class:(.blueman-manager-wrapped)
windowrulev2 = float,class:(.blueman-manager-wrapped)
windowrulev2 = size 40% 60%,class:(.blueman-manager-wrapped})
windowrulev2 = center(1),class:(com.github.wwmm.easyeffects)
windowrulev2 = float,class:(com.github.wwmm.easyeffects)
windowrulev2 = size 40% 60%,class:(com.github.wwmm.easyeffects})
windowrulev2 = center(1),class:(pavucontrol)
windowrulev2 = float,class:(pavucontrol)
windowrulev2 = size 40% 60%,class:(pavucontrol})
windowrulev2 = float, class:^(firefox)$, title:^(Picture-in-Picture)$
windowrulev2 = move 70% 20%, class:^(firefox)$, title:^(Picture-in-Picture)$
windowrulev2 = pin, class:^(firefox)$, title:^(Picture-in-Picture)$
windowrulev2 = suppressevent maximize, class:.*
'';
}