mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat(hyprland): hy3, split up, clean up
This commit is contained in:
parent
e7e33f90b1
commit
5b37548c2c
10 changed files with 758 additions and 146 deletions
15
home/environments/hyprland/workspaces.nix
Normal file
15
home/environments/hyprland/workspaces.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ 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));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue