443 current 2024-08-18 21:52:37 24.05.3642.883180e6550c 6.6.44 *
This commit is contained in:
parent
6535897e6a
commit
f50b845605
@ -5,10 +5,10 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
BORDER_WIDTH = "2";
|
BORDER_WIDTH = "2";
|
||||||
BORDER_WIDTH_INT = builtins.fromString BORDER_WIDTH;
|
BORDER_WIDTH_INT = builtins.parseInt BORDER_WIDTH;
|
||||||
|
|
||||||
CORNER_RADIUS = "5";
|
CORNER_RADIUS = "5";
|
||||||
CORNER_RADIUS_INT = builtins.fromString CORNER_RADIUS;
|
CORNER_RADIUS_INT = builtins.parseInt CORNER_RADIUS;
|
||||||
# A curve of 2px and 10px radius thickness fits into a curve of 12px radius
|
# A curve of 2px and 10px radius thickness fits into a curve of 12px radius
|
||||||
RECEIVING_CORNER_RADIUS = builtins.toString CORNER_RADIUS_INT + BORDER_WIDTH_INT;
|
RECEIVING_CORNER_RADIUS = builtins.toString CORNER_RADIUS_INT + BORDER_WIDTH_INT;
|
||||||
WAYBAR_MODULES_CORNER_RADIUS = "5";
|
WAYBAR_MODULES_CORNER_RADIUS = "5";
|
||||||
|
@ -21,11 +21,11 @@ error:
|
|||||||
|
|
||||||
(stack trace truncated; use '--show-trace' to show the full trace)
|
(stack trace truncated; use '--show-trace' to show the full trace)
|
||||||
|
|
||||||
error: attribute 'fromString' missing
|
error: attribute 'parseInt' missing
|
||||||
|
|
||||||
at /etc/nixos/configuration.nix:11:22:
|
at /etc/nixos/configuration.nix:11:22:
|
||||||
|
|
||||||
10| CORNER_RADIUS = "5";
|
10| CORNER_RADIUS = "5";
|
||||||
11| CORNER_RADIUS_INT = builtins.fromString CORNER_RADIUS;
|
11| CORNER_RADIUS_INT = builtins.parseInt CORNER_RADIUS;
|
||||||
| ^
|
| ^
|
||||||
12| # A curve of 2px and 10px radius thickness fits into a curve of 12px radius
|
12| # A curve of 2px and 10px radius thickness fits into a curve of 12px radius
|
||||||
|
Loading…
x
Reference in New Issue
Block a user