From ba11ee8c7a130cebcf0b13640563ae748cef0e5f Mon Sep 17 00:00:00 2001 From: azahi Date: Sun, 2 Feb 2025 01:48:24 +0300 Subject: 2025-02-02 --- modules/hyprland.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'modules/hyprland.nix') 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; }; } -- cgit 1.4.1