Avoid importing the same file multiple times

This commit is contained in:
Leonardo Eugênio 2023-01-23 00:35:40 -03:00
parent 59c60cf9b2
commit 794613626e
18 changed files with 21 additions and 20 deletions

View file

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }:
let
inherit (import ./variables.nix) key theme color accent font;
inherit (pkgs.uservars) key theme color accent font;
color_picker = pkgs.writeShellScript "color_picker" ''
grim -g "$(slurp -b aabbcc00 -p)" - |
convert - txt:- |