mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
15 lines
538 B
Nix
15 lines
538 B
Nix
{ std, ... }: let
|
|
inherit (std) list;
|
|
in {
|
|
wayland.windowManager.hyprland.settings.workspace = let
|
|
commonOptions = "gapsin:0,gapsout:0,rounding:false";
|
|
in
|
|
["1,monitor:DP-1,default:true,${commonOptions}"]
|
|
++ (list.map (
|
|
workspace: "${toString workspace},monitor:DP-1${commonOptions}"
|
|
) (list.range 2 10))
|
|
++ ["11,monitor:HDMI-A-1,default:true"]
|
|
++ (list.map (
|
|
workspace: "${toString workspace},monitor:HDMI-A-1${commonOptions}"
|
|
) (list.range 12 20));
|
|
}
|