This is a super-simple fork of the GitHub Custom Fonts userstyle from https://github.com/StylishThemes/GitHub-Dark, with some slight tweaks and improvements.
First install a UserCSS extension like Stylus.
| # Nix | |
| result* | |
| # Misc | |
| .direnv |
| local function keys(tbl) | |
| local result = {} | |
| for k, act in pairs(tbl) do | |
| local mods, last | |
| for key in k:gmatch('([^-]+)') do | |
| if last then | |
| if mods then | |
| mods = mods .. '|' .. last | |
| else | |
| mods = last |
| if upfind .envrc >/dev/null; and command -q direnv; and not set -q DIRENV_DIR | |
| # Do an early load of env vars so that things like XDG_DATA_DIRS can take effect | |
| direnv export fish | source | |
| # Then re-exec fish for $__fish_data_dir/config.fish to pick up the vars | |
| # https://fishshell.com/docs/3.7/language.html#configuration-files | |
| # So far this seems to be the only option to pick up .direnv/ files... | |
| exec fish | |
| # TODO: PWD var hook to exec again for unsetting XDG_DATA_DIRS | |
| # Possible inspiration: https://github.com/direnv/direnv/issues/73#issuecomment-747646730 |
| [alias] | |
| # this is gnarly but it's based on the hardcoded upstream default: | |
| # https://github.com/git/git/blob/08bdfd453584e489d5a551aecbdcb77584e1b958/builtin/branch.c#L386 | |
| # The idea is to add a field for commit date and another for a "known prefix", which sort -k can use | |
| # I wodner if this is worth breaking out into its own helper script (git-br) instead | |
| br = "git branch --color --format '%(committerdate:unix)'\t'%(if:equals=refs/heads/test)%(refname:rstrip=-3)%(then)1%(else)0%(end)'\t'%(HEAD) %(if)%(HEAD)%(then)%(color:green)%(else)%(color:normal)%(end)%(refname:short)' | sort -r -n -k 2 -k 1 | cut -d \t -f3" |
This is a super-simple fork of the GitHub Custom Fonts userstyle from https://github.com/StylishThemes/GitHub-Dark, with some slight tweaks and improvements.
First install a UserCSS extension like Stylus.
| #!/usr/bin/env fontforge | |
| import sys | |
| import fontforge | |
| def main(): | |
| for font_name in sys.argv[1:]: | |
| font = fontforge.open(font_name) |
| use bevy::prelude::*; | |
| use bevy_rapier2d::prelude::*; | |
| fn main() { | |
| App::new() | |
| .insert_resource(WindowDescriptor { | |
| title: "Player Movement Example".to_string(), | |
| width: 1000.0, | |
| height: 1000.0, | |
| ..Default::default() |
| extensionHost.ts:329 [Extension Host] debugger listening on port 9837 | |
| extensionHost.ts:235 Extension Host | |
| extensionHost.ts:236 Debugger listening on ws://127.0.0.1:9837/f82cb762-d8df-4b2a-bf57-1f9efb05d6d0 | |
| For help see https://nodejs.org/en/docs/inspector | |
| log.ts:157 INFO no standard startup: not a new window | |
| console.ts:134 [Extension Host] Configuration: debug: 0 errors found with vim configuration | |
| console.ts:134 [Extension Host] Extension Startup: debug: Start | |
| console.ts:134 [Extension Host] ModeHandler: debug: handling key=<ExtensionEnable>. | |
| console.ts:134 [Extension Host] Remapper: debug: trying to find matching remap. keys=<ExtensionEnable>. mode=Normal. keybindings=normalModeKeyBindingsMap. |