2023-08-15 18:31:53 -04:00
|
|
|
input@{ wm ? null, ...}:
|
2023-08-15 12:24:09 -04:00
|
|
|
with builtins;
|
2023-08-15 18:31:53 -04:00
|
|
|
input //
|
2023-08-15 18:19:41 -04:00
|
|
|
rec {
|
|
|
|
x11-wms = ["plasma" "xmonad" "i3"];
|
|
|
|
wayland-wms = ["hyprland" "sway"];
|
|
|
|
wms = x11-wms ++ wayland-wms;
|
2023-08-15 12:24:09 -04:00
|
|
|
|
2023-08-15 12:52:48 -04:00
|
|
|
# very, very non-exhaustive of course
|
2023-08-15 18:19:41 -04:00
|
|
|
is-x11 = wm: elem wm x11-wms;
|
|
|
|
is-wayland = wm: elem wm wayland-wms;
|
2023-08-15 09:38:01 -04:00
|
|
|
}
|