aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-04-10 13:12:45 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-04-10 13:12:45 +0200
commite40cdff0c7d4835ff2a97f5dadf6dad03d6cefed (patch)
treea569589439ca16a35c84bd85dd137309ed7461c4
parent7a1cb9ada9e9cfdaa7f7b072a1f217c7b0145947 (diff)
Fixed a syntax error
-rw-r--r--home/rices/schrottkatze/niri.nix22
1 files changed, 11 insertions, 11 deletions
diff --git a/home/rices/schrottkatze/niri.nix b/home/rices/schrottkatze/niri.nix
index a69685f..0535adf 100644
--- a/home/rices/schrottkatze/niri.nix
+++ b/home/rices/schrottkatze/niri.nix
@@ -8,18 +8,18 @@
home.file."config" =
let
kdlfiles =
- builtins.readDir ./niri/kdl
- |> lib.filterAttrs (key: value: value == "regular")
- |> lib.mapAttrsToList (filename: _value: "include \"${./niri/kdl}/${filename}\"");
+ lib.mapAttrsToList
+ (filename: _value: "include \"${./niri/kdl}/${filename}\"")
+ (lib.filterAttrs (key: value: value == "regular") (builtins.readDir ./niri/kdl));
startups =
- [
- ["eww" "open-many" "topBar" "bottomBar"]
- ["${pkgs.swaybg}/bin/swaybg" "-i" "${./niri/wallpaper.jpg}" "-m" "fill"]
- ["touch" ".config/niri/live.kdl"]
- ]
- |> map (map (word: "\"${word}\""))
- |> map (lib.concatStringsSep " ")
- |> map (it: "spawn-at-startup ${it}");
+ map (it: "spawn-at-startup ${it}")
+ (map (lib.concatStringsSep " ")
+ (map (map (word: "\"${word}\""))
+ [
+ ["eww" "open-many" "topBar" "bottomBar"]
+ ["${pkgs.swaybg}/bin/swaybg" "-i" "${./niri/wallpaper.jpg}" "-m" "fill"]
+ ["touch" ".config/niri/live.kdl"]
+ ]));
other = [
"include \"live.kdl\""
"output \"eDP-1\" { scale 1.1; }"