about summary refs log tree commit diff
path: root/modules/hyprland.nix
diff options
context:
space:
mode:
authorazahi <azat@bahawi.net>2025-02-17 02:21:56 +0300
committerazahi <azat@bahawi.net>2025-02-17 02:21:56 +0300
commit59180328cda59817d71cd58c8f48ead047375064 (patch)
tree2cdd7d1bfa309839ef624c19daf283f510aacf69 /modules/hyprland.nix
parent2025-02-05 (diff)
2025-02-17
Diffstat (limited to 'modules/hyprland.nix')
-rw-r--r--modules/hyprland.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/hyprland.nix b/modules/hyprland.nix
index a2776dc..3b2c273 100644
--- a/modules/hyprland.nix
+++ b/modules/hyprland.nix
@@ -104,8 +104,9 @@ in
               ", XF86MonBrightnessUp,   exec, brightnessctl set +5%"
               ", XF86MonBrightnessDown, exec, brightnessctl set 5%-"
             ]
-            ++ (builtins.concatLists (
-              builtins.genList (
+            ++ (
+              10
+              |> lib.genList (
                 x:
                 let
                   ws =
@@ -118,8 +119,9 @@ in
                   "SUPER,       ${ws}, workspace,       ${x + 1 |> toString}"
                   "SUPER SHIFT, ${ws}, movetoworkspace, ${x + 1 |> toString}"
                 ]
-              ) 10
-            ));
+              )
+              |> lib.concatLists
+            );
         };
       };
 

Consider giving Nix/NixOS a try! <3