This commit is contained in:
John Doty 2020-05-14 10:20:18 -07:00
parent b769a75743
commit 3ce429f8c6
3 changed files with 1073 additions and 13 deletions

1054
.config/kitty/kitty.conf Normal file

File diff suppressed because it is too large Load diff

5
.gitignore vendored
View file

@ -26,3 +26,8 @@ vscode/workspaceStorage
vscode/globalStorage vscode/globalStorage
.config/Code .config/Code
.config/VS Code @ FB .config/VS Code @ FB
.config/configstore/nodemon.json
.config/configstore/update-notifier-npm.json
.config/configstore/update-notifier-yo.json
.config/wireshark/recent
.config/wireshark/recent_common

View file

@ -57,7 +57,7 @@ existing_vscode_roots = [
] ]
if existing_vscode_roots: if existing_vscode_roots:
vscode_root = existing_vscode_roots[0] vscode_root = existing_vscode_roots[0]
for variant in ["Code", "VS Code @ FB"]: for variant in ["Code", "VS Code @ FB", "VS Code @ FB - Insiders"]:
dst_root = os.path.join(vscode_root, variant) dst_root = os.path.join(vscode_root, variant)
if not os.path.exists(dst_root): if not os.path.exists(dst_root):
os.mkdir(dst_root) os.mkdir(dst_root)
@ -71,16 +71,17 @@ else:
# Also these dumb terminal settings go somewhere else yikes. # Also these dumb terminal settings go somewhere else yikes.
terminal_source = os.path.abspath("terminal") terminal_source = os.path.abspath("terminal")
terminal_root = os.path.join(os.getenv("LOCALAPPDATA"), "packages", "Microsoft.WindowsTerminal_8wekyb3d8bbwe", "LocalState") if os.getenv("LOCALAPPDATA") is not None:
if os.path.exists(terminal_root): terminal_root = os.path.join(os.getenv("LOCALAPPDATA"), "packages", "Microsoft.WindowsTerminal_8wekyb3d8bbwe", "LocalState")
source_files = [file for file in os.listdir(terminal_source) if file not in ignore] if os.path.exists(terminal_root):
for source in source_files: source_files = [file for file in os.listdir(terminal_source) if file not in ignore]
source = os.path.join(terminal_source, source) for source in source_files:
dst = os.path.join(terminal_root, os.path.split(source)[1]) source = os.path.join(terminal_source, source)
link_helper(source, dst) dst = os.path.join(terminal_root, os.path.split(source)[1])
else: link_helper(source, dst)
print( else:
"WARNING: No viable root for windows terminal config (tried {})".format( print(
terminal_root "WARNING: No viable root for windows terminal config (tried {})".format(
terminal_root
)
) )
)