Follow instructions: https://www.userchrome.org/how-create-userchrome-css.html
Use the userChrome.css file from this gist.
This file contains 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
{pkgs ? import ./nix/pkgs.nix {}}: | |
let | |
pkg-configWithPackages = packages: pkgs.stdenvNoCC.mkDerivation { | |
name = "pkg-configWithPackages"; | |
buildInputs = [pkgs.makeWrapper]; | |
phases = ["installPhase"]; | |
installPhase = '' | |
makeWrapperFlags=() | |
for package in ${pkgs.lib.concatMapStringsSep " " (p: "${p}") packages}; do | |
makeWrapperFlags+=(--prefix PKG_CONFIG_PATH : $package/lib/pkgconfig) |
This file contains 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 perl | |
use v5.12; | |
use warnings; | |
sub cmus | |
{ | |
my %stati = ( | |
playing => '>>', | |
paused => '||️', |
This file contains 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
nix-shell --run 'composer install' |
This file contains 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
use std::{env, sync::LazyLock}; | |
pub fn LinkCmakeLibrary(currentBinaryDir: &str, name: &str) | |
{ | |
const cmakeBinaryDir: &str = env!("STELLAR_CMAKE_BINARY_DIR"); | |
static cmakeConfig: LazyLock<&'static str> = LazyLock::new(|| { | |
let cargoProfile = env::var("PROFILE").unwrap(); | |
match cargoProfile.as_str() { | |
"debug" => "Debug", |
This file contains 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
derivation { | |
name = "shell"; | |
builder = "${nixpkgs.coreutils}/bin/false"; # Only for use with nix-shell. | |
system = nixpkgs.system; | |
stdenv = nixpkgs.writeTextDir "setup" '' | |
export PATH=${ | |
nixpkgs.lib.concatStringsSep ":" [ | |
"${nixpkgs.cmake}/bin" | |
"${nixpkgs.coreutils}/bin" | |
"${nixpkgs.gcc}/bin" # Does not get unwanted flags! |