This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { lib, pkgs }: | |
| pkgs.stdenv.mkDerivation { | |
| name = "lslint"; | |
| buildInputs = with pkgs; [ bison flex ]; | |
| nativeBuildInputs = with pkgs; [ ]; | |
| src = pkgs.fetchFromGitHub { | |
| owner = "Makopo"; | |
| repo = "lslint"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function __fasd_init -e fish_postexec -d "fasd takes record of the directories changed into" | |
| set -lx RETVAL $status | |
| if test $RETVAL -eq 0 # if there was no error | |
| command fasd --proc (command fasd --sanitize (eval echo "$argv") | tr -s " " \n) > "/dev/null" 2>&1 &; disown | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BAR_EMPTY_COLOR=#928374 | |
| BAR_CRITICAL_COLOR=#fb4934 | |
| [cpu] | |
| BAR_WIDTH=20 | |
| LABEL=\uf85a | |
| command=/nix/store/kk8bk5gkalpdv1hr5yyf99x5rzv0n9z3-cpu | |
| interval=persist | |
| markup=pango |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| with import <nixpkgs> {}; | |
| let | |
| inherit (pkgs) mkShell; | |
| nur.repos.jomik = import (builtins.fetchTarball "https://gitlab.com/Jomik/nur-expressions/-/archive/master/nur-expressions-master.tar.gz") { inherit pkgs; }; | |
| androidHome = nur.repos.jomik.androidsdk.environment { | |
| acceptLicenses = true; | |
| platforms = [ 26 25 24 23 ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { python3 }: | |
| with python3.pkgs; | |
| buildPythonPackage rec { | |
| pname = "screepsapi"; | |
| version = "0.5.1"; | |
| format = "wheel"; | |
| src = fetchPypi { | |
| inherit pname version format; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trace: lib.zip is deprecated, use lib.zipAttrsWith instead | |
| trace: Warning: `showVal` is deprecated and will be removed in the next release, please use `traceSeqN` | |
| trace: `lib.nixpkgsVersion` is deprecated, use `lib.version` instead! | |
| trace: `mkStrict' is obsolete; use `mkOverride 0' instead. | |
| trace: `types.list` is deprecated; use `types.listOf` instead | |
| trace: types.optionSet is deprecated; use types.submodule instead | |
| trace: WARNING: `stdenv.isArm` is deprecated after 18.03. Please use `stdenv.isAarch32` instead | |
| trace: WARNING: `stdenv.isArm` is deprecated after 18.03. Please use `stdenv.isAarch32` instead | |
| trace: WARNING: `stdenv.isArm` is deprecated after 18.03. Please use `stdenv.isAarch32` instead | |
| trace: WARNING: `stdenv.isArm` is deprecated after 18.03. Please use `stdenv.isAarch32` instead |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env nix-shell | |
| #!nix-shell -p nix-prefetch-git -p python3 nix -i python3 | |
| # format: | |
| # $ nix run nixpkgs.python3Packages.black -c black update.py | |
| # type-check: | |
| # $ nix run nixpkgs.python3Packages.mypy -c mypy update.py | |
| # linted: | |
| # $ nix run nixpkgs.python3Packages.flake8 -c flake8 --ignore E501,E265 update.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| function bar { | |
| percent=$1 | |
| width=${BAR_WIDTH:-10} | |
| echo -en "<span font='${LABEL_SIZE:-22}'>$LABEL</span> " | |
| echo -n "<span rise='5000'>" | |
| end=$(($width - 1)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| background #fbf1c7 | |
| color0 #fbf1c7 | |
| color1 #9d0006 | |
| color10 #98971a | |
| color11 #d79921 | |
| color12 #458588 | |
| color13 #b16286 | |
| color14 #689d6a | |
| color15 #282828 | |
| color2 #79740e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| background #fbf1c7 | |
| color0 #fbf1c7 | |
| color1 #9d0006 | |
| color10 #98971a | |
| color11 #d79921 | |
| color12 #458588 | |
| color13 #b16286 | |
| color14 #689d6a | |
| color15 #282828 | |
| color2 #79740e |