about summary refs log tree commit diff
path: root/modules/hyprland.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hyprland.nix')
-rw-r--r--modules/hyprland.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/hyprland.nix b/modules/hyprland.nix
index c7f574a..a2776dc 100644
--- a/modules/hyprland.nix
+++ b/modules/hyprland.nix
@@ -112,11 +112,11 @@ in
                     let
                       c = (x + 1) / 10;
                     in
-                    toString (x + 1 - (c * 10));
+                    x + 1 - (c * 10) |> toString;
                 in
                 [
-                  "SUPER, ${ws}, workspace, ${toString (x + 1)}"
-                  "SUPER SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
+                  "SUPER,       ${ws}, workspace,       ${x + 1 |> toString}"
+                  "SUPER SHIFT, ${ws}, movetoworkspace, ${x + 1 |> toString}"
                 ]
               ) 10
             ));
@@ -125,7 +125,5 @@ in
 
       programs.hyprlock.enable = true;
     };
-
-    programs.hyprland.enable = true;
   };
 }

Consider giving Nix/NixOS a try! <3