@quickcall/all-configs 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/README.md +15 -2
  2. package/bin/all-configs.js +44 -0
  3. package/package.json +20 -4
  4. package/runtime/allconfigs/__init__.py +1 -0
  5. package/runtime/allconfigs/__main__.py +42 -0
  6. package/runtime/allconfigs/__pycache__/__init__.cpython-312.pyc +0 -0
  7. package/runtime/allconfigs/__pycache__/__main__.cpython-312.pyc +0 -0
  8. package/runtime/allconfigs/__pycache__/modules.cpython-312.pyc +0 -0
  9. package/runtime/allconfigs/__pycache__/probe.cpython-312.pyc +0 -0
  10. package/runtime/allconfigs/__pycache__/runner.cpython-312.pyc +0 -0
  11. package/runtime/allconfigs/modules.py +221 -0
  12. package/runtime/allconfigs/probe.py +60 -0
  13. package/runtime/install.sh +74 -0
  14. package/runtime/lib/common.sh +147 -0
  15. package/runtime/lib/uninstall.sh +35 -0
  16. package/runtime/modules/aldente/install.sh +23 -0
  17. package/runtime/modules/aldente/module.toml +11 -0
  18. package/runtime/modules/aliases/aliases.sh +31 -0
  19. package/runtime/modules/aliases/install.sh +36 -0
  20. package/runtime/modules/aliases/module.toml +7 -0
  21. package/runtime/modules/aqua-voice/install.sh +23 -0
  22. package/runtime/modules/aqua-voice/module.toml +11 -0
  23. package/runtime/modules/betterdisplay/install.sh +23 -0
  24. package/runtime/modules/betterdisplay/module.toml +11 -0
  25. package/runtime/modules/bitwarden/install.sh +19 -0
  26. package/runtime/modules/bitwarden/module.toml +11 -0
  27. package/runtime/modules/browsers/install.sh +33 -0
  28. package/runtime/modules/browsers/module.toml +11 -0
  29. package/runtime/modules/bun/install.sh +72 -0
  30. package/runtime/modules/bun/module.toml +7 -0
  31. package/runtime/modules/caveman/install.sh +79 -0
  32. package/runtime/modules/caveman/module.toml +7 -0
  33. package/runtime/modules/claude/install.sh +22 -0
  34. package/runtime/modules/claude/module.toml +7 -0
  35. package/runtime/modules/codex/install.sh +20 -0
  36. package/runtime/modules/codex/module.toml +7 -0
  37. package/runtime/modules/docker/install.sh +19 -0
  38. package/runtime/modules/docker/module.toml +11 -0
  39. package/runtime/modules/external-skills/install.sh +30 -0
  40. package/runtime/modules/external-skills/module.toml +4 -0
  41. package/runtime/modules/ffmpeg/install.sh +13 -0
  42. package/runtime/modules/ffmpeg/module.toml +11 -0
  43. package/runtime/modules/fonts/install.sh +62 -0
  44. package/runtime/modules/fonts/module.toml +8 -0
  45. package/runtime/modules/ghostty/config +44 -0
  46. package/runtime/modules/ghostty/install.sh +64 -0
  47. package/runtime/modules/ghostty/module.toml +9 -0
  48. package/runtime/modules/ghostty/themes/ayu-dark +22 -0
  49. package/runtime/modules/ghostty/themes/catppuccin-frappe +23 -0
  50. package/runtime/modules/ghostty/themes/catppuccin-latte +23 -0
  51. package/runtime/modules/ghostty/themes/catppuccin-latte.conf +23 -0
  52. package/runtime/modules/ghostty/themes/catppuccin-macchiato +23 -0
  53. package/runtime/modules/ghostty/themes/catppuccin-mocha +23 -0
  54. package/runtime/modules/ghostty/themes/visual-studio-light +27 -0
  55. package/runtime/modules/ghostty/themes/vscode-light +24 -0
  56. package/runtime/modules/ghostty/themes/vscode-light-soft +24 -0
  57. package/runtime/modules/ghostty/xterm-ghostty.terminfo +81 -0
  58. package/runtime/modules/github/install.sh +101 -0
  59. package/runtime/modules/github/module.toml +8 -0
  60. package/runtime/modules/hf/install.sh +98 -0
  61. package/runtime/modules/hf/module.toml +7 -0
  62. package/runtime/modules/karabiner/README.md +146 -0
  63. package/runtime/modules/karabiner/agents.md +39 -0
  64. package/runtime/modules/karabiner/app_launchers.json +236 -0
  65. package/runtime/modules/karabiner/custom_delete_mapping.json +13 -0
  66. package/runtime/modules/karabiner/fn_to_control.json +9 -0
  67. package/runtime/modules/karabiner/install.sh +60 -0
  68. package/runtime/modules/karabiner/karabiner.json +866 -0
  69. package/runtime/modules/karabiner/keychron-modifier-swap.sh +80 -0
  70. package/runtime/modules/karabiner/module.toml +8 -0
  71. package/runtime/modules/karabiner/remap_caps_lock_shift_super.json +23 -0
  72. package/runtime/modules/karabiner/remap_escape_to_control.json +49 -0
  73. package/runtime/modules/karabiner/rename_caps_lock_to_super.json +23 -0
  74. package/runtime/modules/karabiner/right_shift_mouse_click.json +44 -0
  75. package/runtime/modules/karabiner/swap_esc_delete.json +10 -0
  76. package/runtime/modules/karabiner/troubleshooting.md +242 -0
  77. package/runtime/modules/karabiner/vim_arrow_keys.json +477 -0
  78. package/runtime/modules/keepingyouawake/install.sh +23 -0
  79. package/runtime/modules/keepingyouawake/module.toml +11 -0
  80. package/runtime/modules/keycastr/install.sh +23 -0
  81. package/runtime/modules/keycastr/module.toml +11 -0
  82. package/runtime/modules/multi-github/install.sh +179 -0
  83. package/runtime/modules/multi-github/module.toml +4 -0
  84. package/runtime/modules/ncdu/install.sh +13 -0
  85. package/runtime/modules/ncdu/module.toml +11 -0
  86. package/runtime/modules/node/install.sh +73 -0
  87. package/runtime/modules/node/module.toml +11 -0
  88. package/runtime/modules/nvim/.neoconf.json +15 -0
  89. package/runtime/modules/nvim/init.lua +2 -0
  90. package/runtime/modules/nvim/install.sh +142 -0
  91. package/runtime/modules/nvim/lazy-lock.json +35 -0
  92. package/runtime/modules/nvim/lazyvim.json +10 -0
  93. package/runtime/modules/nvim/lua/config/autocmds.lua +18 -0
  94. package/runtime/modules/nvim/lua/config/keymaps.lua +10 -0
  95. package/runtime/modules/nvim/lua/config/lazy.lua +53 -0
  96. package/runtime/modules/nvim/lua/config/options.lua +3 -0
  97. package/runtime/modules/nvim/lua/plugins/image.lua +9 -0
  98. package/runtime/modules/nvim/lua/plugins/markdown.lua +56 -0
  99. package/runtime/modules/nvim/lua/plugins/noice.lua +17 -0
  100. package/runtime/modules/nvim/lua/plugins/rose-pine.lua +16 -0
  101. package/runtime/modules/nvim/lua/plugins/snacks.lua +20 -0
  102. package/runtime/modules/nvim/module.toml +8 -0
  103. package/runtime/modules/nvim/stylua.toml +3 -0
  104. package/runtime/modules/p10k/install.sh +46 -0
  105. package/runtime/modules/p10k/module.toml +8 -0
  106. package/runtime/modules/p10k/p10k.zsh +1711 -0
  107. package/runtime/modules/pi/install.sh +77 -0
  108. package/runtime/modules/pi/module.toml +8 -0
  109. package/runtime/modules/pi/packages +5 -0
  110. package/runtime/modules/pi/settings.json +21 -0
  111. package/runtime/modules/presentify/install.sh +25 -0
  112. package/runtime/modules/presentify/module.toml +7 -0
  113. package/runtime/modules/rectangle/RectangleConfig.json +353 -0
  114. package/runtime/modules/rectangle/install.sh +64 -0
  115. package/runtime/modules/rectangle/module.toml +11 -0
  116. package/runtime/modules/shortcat/install.sh +19 -0
  117. package/runtime/modules/shortcat/module.toml +11 -0
  118. package/runtime/modules/skills/install.sh +25 -0
  119. package/runtime/modules/skills/module.toml +4 -0
  120. package/runtime/modules/skills/skills-lock.json +35 -0
  121. package/runtime/modules/slack/install.sh +23 -0
  122. package/runtime/modules/slack/module.toml +11 -0
  123. package/runtime/modules/spotify/install.sh +23 -0
  124. package/runtime/modules/spotify/module.toml +11 -0
  125. package/runtime/modules/ssh-keygen/install.sh +130 -0
  126. package/runtime/modules/ssh-keygen/module.toml +4 -0
  127. package/runtime/modules/statusline/install.sh +69 -0
  128. package/runtime/modules/statusline/module.toml +7 -0
  129. package/runtime/modules/statusline/statusline.sh +168 -0
  130. package/runtime/modules/statusline/turn-counter.sh +11 -0
  131. package/runtime/modules/superfile/cheatsheet.md +127 -0
  132. package/runtime/modules/superfile/config.toml +181 -0
  133. package/runtime/modules/superfile/hotkeys.toml +96 -0
  134. package/runtime/modules/superfile/install.sh +73 -0
  135. package/runtime/modules/superfile/module.toml +7 -0
  136. package/runtime/modules/tailscale/install.sh +29 -0
  137. package/runtime/modules/tailscale/module.toml +11 -0
  138. package/runtime/modules/tinycast/install.sh +68 -0
  139. package/runtime/modules/tinycast/module.toml +7 -0
  140. package/runtime/modules/tinycast/settings.json +226 -0
  141. package/runtime/modules/tmux/.tmux.conf.local +168 -0
  142. package/runtime/modules/tmux/README.md +50 -0
  143. package/runtime/modules/tmux/install.sh +57 -0
  144. package/runtime/modules/tmux/installer.mjs +191 -0
  145. package/runtime/modules/tmux/module.toml +8 -0
  146. package/runtime/modules/tmux/shell-helpers.sh +20 -0
  147. package/runtime/modules/tmux/uninstall.sh +134 -0
  148. package/runtime/modules/uv/install.sh +72 -0
  149. package/runtime/modules/uv/module.toml +7 -0
  150. package/runtime/modules/vlc/install.sh +23 -0
  151. package/runtime/modules/vlc/module.toml +11 -0
  152. package/runtime/modules/vscode/install.sh +33 -0
  153. package/runtime/modules/vscode/keybindings.json +74 -0
  154. package/runtime/modules/vscode/module.toml +8 -0
  155. package/runtime/modules/vscode/settings.json +426 -0
  156. package/runtime/modules/vscode/tasks.json +1 -0
  157. package/runtime/modules/yt-dlp/install.sh +13 -0
  158. package/runtime/modules/yt-dlp/module.toml +11 -0
  159. package/runtime/modules/zed/install.sh +43 -0
  160. package/runtime/modules/zed/module.toml +8 -0
  161. package/runtime/modules/zed/settings.json +208 -0
  162. package/runtime/modules/zoxide/install.sh +41 -0
  163. package/runtime/modules/zoxide/module.toml +11 -0
@@ -0,0 +1,62 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5
+ ROOT_DIR="$(cd "$SCRIPT_DIR/../.." && pwd)"
6
+ source "$ROOT_DIR/lib/common.sh"
7
+
8
+ FONT_VERSION="v3.2.1"
9
+ FONT_NAME="Meslo"
10
+ ZIP_URL="https://github.com/ryanoasis/nerd-fonts/releases/download/${FONT_VERSION}/${FONT_NAME}.zip"
11
+
12
+ step "Ensuring font dependencies"
13
+ ensure_cmd unzip unzip
14
+ if ! command -v fc-cache &> /dev/null; then
15
+ warn "fontconfig not found — installing"
16
+ if [[ "$PLATFORM" == "mac" ]]; then
17
+ ensure_cmd brew brew
18
+ brew_install_formula fontconfig
19
+ else
20
+ sudo apt-get update -qq && sudo apt-get install -y -qq fontconfig
21
+ fi
22
+ if command -v fc-cache &> /dev/null; then
23
+ ok "fontconfig installed"
24
+ else
25
+ warn "fontconfig install may have failed - continuing without font cache refresh"
26
+ fi
27
+ else
28
+ ok "fontconfig"
29
+ fi
30
+
31
+ step "Installing ${FONT_NAME} Nerd Font"
32
+
33
+ if [[ "$PLATFORM" == "mac" ]]; then
34
+ FONT_DIR="$HOME/Library/Fonts"
35
+ else
36
+ FONT_DIR="$HOME/.local/share/fonts"
37
+ fi
38
+
39
+ mkdir -p "$FONT_DIR"
40
+
41
+ TMP_DIR="$(mktemp -d)"
42
+ trap 'rm -rf "$TMP_DIR"' EXIT
43
+
44
+ step "Downloading ${FONT_NAME} Nerd Font"
45
+ curl -fsSL "$ZIP_URL" -o "$TMP_DIR/${FONT_NAME}.zip"
46
+
47
+ step "Extracting fonts"
48
+ unzip -q "$TMP_DIR/${FONT_NAME}.zip" -d "$TMP_DIR/fonts"
49
+
50
+ step "Copying fonts to ${FONT_DIR}"
51
+ find "$TMP_DIR/fonts" -maxdepth 1 -type f \( -iname "*.ttf" -o -iname "*.otf" \) -exec cp {} "$FONT_DIR/" \;
52
+
53
+ if [[ "$PLATFORM" == "linux" ]]; then
54
+ step "Refreshing font cache"
55
+ if command -v fc-cache &> /dev/null; then
56
+ fc-cache -fv "$FONT_DIR"
57
+ else
58
+ warn "fc-cache not found — font cache not refreshed"
59
+ fi
60
+ fi
61
+
62
+ ok "${FONT_NAME} Nerd Font installed"
@@ -0,0 +1,8 @@
1
+ name = "fonts"
2
+ description = "Meslo Nerd Font for terminal and editor icons"
3
+ platforms = ["mac", "linux"]
4
+ kind = "config"
5
+
6
+ [detect]
7
+ paths_mac = ["~/Library/Fonts/MesloLGSNerdFont-Regular.ttf"]
8
+ paths_linux = ["~/.local/share/fonts/MesloLGSNerdFont-Regular.ttf"]
@@ -0,0 +1,44 @@
1
+ # ============================================
2
+ # GHOSTTY CONFIG
3
+ # ============================================
4
+ # Symlinked: ~/.config/ghostty/config -> this file
5
+ # ============================================
6
+
7
+ # --------------------------------------------
8
+ # THEME
9
+ # --------------------------------------------
10
+
11
+ theme = visual-studio-light
12
+
13
+ # --------------------------------------------
14
+ # FONT
15
+ # --------------------------------------------
16
+
17
+ font-family = MesloLGS Nerd Font Mono
18
+ font-size = 14
19
+
20
+ # --------------------------------------------
21
+ # WINDOW
22
+ # --------------------------------------------
23
+
24
+ window-padding-x = 12
25
+ window-padding-y = 10
26
+ window-padding-balance = true
27
+ scrollback-limit = 100000
28
+
29
+ # --------------------------------------------
30
+ # BEHAVIOR
31
+ # --------------------------------------------
32
+
33
+ mouse-hide-while-typing = true
34
+ copy-on-select = clipboard
35
+
36
+ # Send Option as Alt so Meta keybindings work in tmux
37
+ macos-option-as-alt = true
38
+
39
+ # Forward palette shortcuts to tmux
40
+ keybind = cmd+p=text:\x1bp
41
+ # Forward Alt-Backspace to tmux/pi instead of handling it locally
42
+ keybind = alt+backspace=text:\x1b\x7f
43
+
44
+ shell-integration = detect
@@ -0,0 +1,64 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5
+ ROOT_DIR="$(cd "$SCRIPT_DIR/../.." && pwd)"
6
+ source "$ROOT_DIR/lib/common.sh"
7
+
8
+ step "Installing Ghostty"
9
+
10
+ # ─── Install ───
11
+
12
+ if [[ "$PLATFORM" == "mac" ]]; then
13
+ if command -v ghostty &>/dev/null; then
14
+ ok "ghostty ${D}$(command -v ghostty)${R}"
15
+ else
16
+ warn "ghostty not found — installing via brew cask"
17
+ brew_install_cask ghostty
18
+ ok "ghostty installed"
19
+ fi
20
+ else
21
+ warn "Linux: ghostty binary not available via package manager"
22
+ step "Installing ghostty terminfo for xterm-ghostty"
23
+ ensure_cmd tic ncurses-bin
24
+ mkdir -p "$HOME/.terminfo"
25
+ tic -x -o "$HOME/.terminfo" "$SCRIPT_DIR/xterm-ghostty.terminfo"
26
+ ok "ghostty terminfo installed to ~/.terminfo"
27
+ fi
28
+
29
+ # ─── Config ───
30
+
31
+ CONFIG_TARGETS=(
32
+ "$HOME/.config/ghostty/config"
33
+ "$HOME/.config/ghostty/config.ghostty"
34
+ "$HOME/Library/Application Support/com.mitchellh.ghostty/config.ghostty"
35
+ )
36
+
37
+ for DEST in "${CONFIG_TARGETS[@]}"; do
38
+ mkdir -p "$(dirname "$DEST")"
39
+ backup_file "$DEST"
40
+ [[ -L "$DEST" ]] && rm "$DEST"
41
+ ln -sf "$SCRIPT_DIR/config" "$DEST"
42
+ ok "ghostty config ${D}→ $DEST (symlinked)${R}"
43
+ done
44
+
45
+ # ─── Themes ───
46
+
47
+ THEME_TARGETS=(
48
+ "$HOME/.config/ghostty/themes"
49
+ "$HOME/Library/Application Support/com.mitchellh.ghostty/themes"
50
+ )
51
+
52
+ for THEMES_DEST in "${THEME_TARGETS[@]}"; do
53
+ mkdir -p "$THEMES_DEST"
54
+ for theme in "$SCRIPT_DIR/themes/"*; do
55
+ [[ -f "$theme" ]] || continue
56
+ ln -sf "$theme" "$THEMES_DEST/$(basename "$theme")"
57
+ ok "theme ${D}$(basename "$theme") → $THEMES_DEST/${R}"
58
+ done
59
+ done
60
+
61
+ echo ""
62
+ echo -e " ${GRN}Done!${R} Open Ghostty to apply"
63
+ echo -e " ${D}Theme: vscode-light | Font: MesloLGS Nerd Font Mono 14${R}"
64
+ echo ""
@@ -0,0 +1,9 @@
1
+ name = "ghostty"
2
+ description = "Ghostty terminal config + themes"
3
+ platforms = ["mac", "linux"]
4
+ kind = "config"
5
+
6
+ [detect]
7
+ commands = ["ghostty"]
8
+ apps = ["Ghostty"]
9
+ paths = ["~/.config/ghostty/config"]
@@ -0,0 +1,22 @@
1
+ background = #0b0e14
2
+ foreground = #bfbdb6
3
+ selection-background = #1b3a5b
4
+ selection-foreground = #bfbdb6
5
+ cursor-color = #bfbdb6
6
+ cursor-text = #0b0e14
7
+ palette = 0=#1e232b
8
+ palette = 1=#ea6c73
9
+ palette = 2=#7fd962
10
+ palette = 3=#f9af4f
11
+ palette = 4=#53bdfa
12
+ palette = 5=#cda1fa
13
+ palette = 6=#90e1c6
14
+ palette = 7=#c7c7c7
15
+ palette = 8=#686868
16
+ palette = 9=#f07178
17
+ palette = 10=#aad94c
18
+ palette = 11=#ffb454
19
+ palette = 12=#59c2ff
20
+ palette = 13=#d2a6ff
21
+ palette = 14=#95e6cb
22
+ palette = 15=#ffffff
@@ -0,0 +1,23 @@
1
+ palette = 0=#51576d
2
+ palette = 1=#e78284
3
+ palette = 2=#a6d189
4
+ palette = 3=#e5c890
5
+ palette = 4=#8caaee
6
+ palette = 5=#f4b8e4
7
+ palette = 6=#81c8be
8
+ palette = 7=#a5adce
9
+ palette = 8=#626880
10
+ palette = 9=#e78284
11
+ palette = 10=#a6d189
12
+ palette = 11=#e5c890
13
+ palette = 12=#8caaee
14
+ palette = 13=#f4b8e4
15
+ palette = 14=#81c8be
16
+ palette = 15=#b5bfe2
17
+ background = 303446
18
+ foreground = c6d0f5
19
+ cursor-color = f2d5cf
20
+ cursor-text = 232634
21
+ selection-background = 44495d
22
+ selection-foreground = c6d0f5
23
+ split-divider-color = 414559
@@ -0,0 +1,23 @@
1
+ palette = 0=#5c5f77
2
+ palette = 1=#d20f39
3
+ palette = 2=#40a02b
4
+ palette = 3=#df8e1d
5
+ palette = 4=#1e66f5
6
+ palette = 5=#ea76cb
7
+ palette = 6=#179299
8
+ palette = 7=#acb0be
9
+ palette = 8=#6c6f85
10
+ palette = 9=#d20f39
11
+ palette = 10=#40a02b
12
+ palette = 11=#df8e1d
13
+ palette = 12=#1e66f5
14
+ palette = 13=#ea76cb
15
+ palette = 14=#179299
16
+ palette = 15=#bcc0cc
17
+ background = eff1f5
18
+ foreground = 4c4f69
19
+ cursor-color = dc8a78
20
+ cursor-text = eff1f5
21
+ selection-background = d8dae1
22
+ selection-foreground = 4c4f69
23
+ split-divider-color = ccd0da
@@ -0,0 +1,23 @@
1
+ palette = 0=#5c5f77
2
+ palette = 1=#d20f39
3
+ palette = 2=#40a02b
4
+ palette = 3=#df8e1d
5
+ palette = 4=#1e66f5
6
+ palette = 5=#ea76cb
7
+ palette = 6=#179299
8
+ palette = 7=#acb0be
9
+ palette = 8=#6c6f85
10
+ palette = 9=#d20f39
11
+ palette = 10=#40a02b
12
+ palette = 11=#df8e1d
13
+ palette = 12=#1e66f5
14
+ palette = 13=#ea76cb
15
+ palette = 14=#179299
16
+ palette = 15=#bcc0cc
17
+ background = eff1f5
18
+ foreground = 4c4f69
19
+ cursor-color = dc8a78
20
+ cursor-text = eff1f5
21
+ selection-background = d8dae1
22
+ selection-foreground = 4c4f69
23
+ split-divider-color = ccd0da
@@ -0,0 +1,23 @@
1
+ palette = 0=#494d64
2
+ palette = 1=#ed8796
3
+ palette = 2=#a6da95
4
+ palette = 3=#eed49f
5
+ palette = 4=#8aadf4
6
+ palette = 5=#f5bde6
7
+ palette = 6=#8bd5ca
8
+ palette = 7=#a5adcb
9
+ palette = 8=#5b6078
10
+ palette = 9=#ed8796
11
+ palette = 10=#a6da95
12
+ palette = 11=#eed49f
13
+ palette = 12=#8aadf4
14
+ palette = 13=#f5bde6
15
+ palette = 14=#8bd5ca
16
+ palette = 15=#b8c0e0
17
+ background = 24273a
18
+ foreground = cad3f5
19
+ cursor-color = f4dbd6
20
+ cursor-text = 181926
21
+ selection-background = 3a3e53
22
+ selection-foreground = cad3f5
23
+ split-divider-color = 363a4f
@@ -0,0 +1,23 @@
1
+ palette = 0=#45475a
2
+ palette = 1=#f38ba8
3
+ palette = 2=#a6e3a1
4
+ palette = 3=#f9e2af
5
+ palette = 4=#89b4fa
6
+ palette = 5=#f5c2e7
7
+ palette = 6=#94e2d5
8
+ palette = 7=#a6adc8
9
+ palette = 8=#585b70
10
+ palette = 9=#f38ba8
11
+ palette = 10=#a6e3a1
12
+ palette = 11=#f9e2af
13
+ palette = 12=#89b4fa
14
+ palette = 13=#f5c2e7
15
+ palette = 14=#94e2d5
16
+ palette = 15=#bac2de
17
+ background = 1e1e2e
18
+ foreground = cdd6f4
19
+ cursor-color = f5e0dc
20
+ cursor-text = 11111b
21
+ selection-background = 353749
22
+ selection-foreground = cdd6f4
23
+ split-divider-color = 313244
@@ -0,0 +1,27 @@
1
+ # VS Code "Visual Studio Light" — exact colors from the app bundle
2
+ # Sources:
3
+ # theme-defaults/themes/light_vs.json (token colors)
4
+ # platform light color registry (workbench/terminal defaults)
5
+ # Only deviation: terminal magenta #bc05bc -> editor purple #800080 (no pink)
6
+ palette = 0=#000000
7
+ palette = 1=#cd3131
8
+ palette = 2=#008000
9
+ palette = 3=#795e26
10
+ palette = 4=#0451a5
11
+ palette = 5=#800080
12
+ palette = 6=#098658
13
+ palette = 7=#555555
14
+ palette = 8=#666666
15
+ palette = 9=#e81123
16
+ palette = 10=#107c10
17
+ palette = 11=#b8860b
18
+ palette = 12=#007acc
19
+ palette = 13=#af00db
20
+ palette = 14=#00b7c3
21
+ palette = 15=#a5a5a5
22
+ background = #ffffff
23
+ foreground = #000000
24
+ cursor-color = #000000
25
+ cursor-text = #ffffff
26
+ selection-background = #add6ff
27
+ selection-foreground = #000000
@@ -0,0 +1,24 @@
1
+ # VS Code "Default Light+" — official colors
2
+ # Source: microsoft/vscode terminalColorRegistry.ts (light defaults) + light_vs.json
3
+ palette = 0=#000000
4
+ palette = 1=#cd3131
5
+ palette = 2=#107C10
6
+ palette = 3=#949800
7
+ palette = 4=#0451a5
8
+ palette = 5=#bc05bc
9
+ palette = 6=#0598bc
10
+ palette = 7=#555555
11
+ palette = 8=#666666
12
+ palette = 9=#cd3131
13
+ palette = 10=#14CE14
14
+ palette = 11=#b5ba00
15
+ palette = 12=#0451a5
16
+ palette = 13=#bc05bc
17
+ palette = 14=#0598bc
18
+ palette = 15=#a5a5a5
19
+ background = #ffffff
20
+ foreground = #333333
21
+ cursor-color = #333333
22
+ cursor-text = #ffffff
23
+ selection-background = #add6ff
24
+ selection-foreground = #333333
@@ -0,0 +1,24 @@
1
+ # VS Code Light+ softened variant — same hues, easier on the eyes
2
+ # (magenta swapped for purple, white toned down to cool gray)
3
+ palette = 0=#000000
4
+ palette = 1=#cd3131
5
+ palette = 2=#107C10
6
+ palette = 3=#949800
7
+ palette = 4=#0451a5
8
+ palette = 5=#8250df
9
+ palette = 6=#0598bc
10
+ palette = 7=#555555
11
+ palette = 8=#666666
12
+ palette = 9=#cd3131
13
+ palette = 10=#14CE14
14
+ palette = 11=#b5ba00
15
+ palette = 12=#0451a5
16
+ palette = 13=#b083f0
17
+ palette = 14=#0598bc
18
+ palette = 15=#a5a5a5
19
+ background = #f2f4f7
20
+ foreground = #3b3b3b
21
+ cursor-color = #0451a5
22
+ cursor-text = #f2f4f7
23
+ selection-background = #c7ddf2
24
+ selection-foreground = #333333
@@ -0,0 +1,81 @@
1
+ # Reconstructed via infocmp from file: /Applications/Ghostty.app/Contents/Resources/terminfo/78/xterm-ghostty
2
+ xterm-ghostty|ghostty|Ghostty,
3
+ am, bce, ccc, hs, km, mc5i, mir, msgr, npc, xenl, AX, Su, Tc, XT, fullkbd,
4
+ colors#256, cols#80, it#8, lines#24, pairs#32767,
5
+ acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
6
+ bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
7
+ clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=^M,
8
+ csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9
+ cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
10
+ cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11
+ cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
12
+ dl=\E[%p1%dM, dl1=\E[M, dsl=\E]2;\007, ech=\E[%p1%dX,
13
+ ed=\E[J, el=\E[K, el1=\E[1K, flash=\E[?5h$<100/>\E[?5l,
14
+ fsl=^G, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
15
+ ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
16
+ indn=\E[%p1%dS,
17
+ initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
18
+ invis=\E[8m, kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H,
19
+ kIC=\E[2;2~, kLFT=\E[1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~,
20
+ kRIT=\E[1;2C, kbs=\177, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB,
21
+ kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\EOF, kent=\EOM,
22
+ kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
23
+ kf13=\E[1;2P, kf14=\E[1;2Q, kf15=\E[1;2R, kf16=\E[1;2S,
24
+ kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ,
25
+ kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
26
+ kf23=\E[23;2~, kf24=\E[24;2~, kf25=\E[1;5P, kf26=\E[1;5Q,
27
+ kf27=\E[1;5R, kf28=\E[1;5S, kf29=\E[15;5~, kf3=\EOR,
28
+ kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,
29
+ kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
30
+ kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q, kf39=\E[1;6R,
31
+ kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~, kf42=\E[17;6~,
32
+ kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
33
+ kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~,
34
+ kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q, kf51=\E[1;3R,
35
+ kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
36
+ kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~,
37
+ kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~,
38
+ kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~,
39
+ kf8=\E[19~, kf9=\E[20~, khome=\EOH, kich1=\E[2~,
40
+ kind=\E[1;2B, kmous=\E[<, knp=\E[6~, kpp=\E[5~,
41
+ kri=\E[1;2A, oc=\E]104\007, op=\E[39;49m, rc=\E8,
42
+ rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
43
+ rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E(B, rmam=\E[?7l,
44
+ rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
45
+ rmul=\E[24m, rs1=\E]\E\\\Ec, sc=\E7,
46
+ setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
47
+ setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
48
+ sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
49
+ sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
50
+ smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
51
+ smul=\E[4m, tbc=\E[3g, tsl=\E]2;, u6=\E[%i%d;%dR, u7=\E[6n,
52
+ u8=\E[?%[;0123456789]c, u9=\E[c, vpa=\E[%i%p1%dd,
53
+ BD=\E[?2004l, BE=\E[?2004h, Clmg=\E[s,
54
+ Cmg=\E[%i%p1%d;%p2%ds, Dsmg=\E[?69l, E3=\E[3J,
55
+ Enmg=\E[?69h, Ms=\E]52;%p1%s;%p2%s\007, PE=\E[201~,
56
+ PS=\E[200~, RV=\E[>c, Se=\E[2 q,
57
+ Setulc=\E[58\:2\:\:%p1%{65536}%/%d\:%p1%{256}%/%{255}%&%d\:%p1%{255}%&%d%;m,
58
+ Smulx=\E[4\:%p1%dm, Ss=\E[%p1%d q,
59
+ Sync=\E[?2026%?%p1%{1}%-%tl%eh%;,
60
+ XM=\E[?1006;1000%?%p1%{1}%=%th%el%;, XR=\E[>0q,
61
+ fd=\E[?1004l, fe=\E[?1004h, kDC3=\E[3;3~, kDC4=\E[3;4~,
62
+ kDC5=\E[3;5~, kDC6=\E[3;6~, kDC7=\E[3;7~, kDN=\E[1;2B,
63
+ kDN3=\E[1;3B, kDN4=\E[1;4B, kDN5=\E[1;5B, kDN6=\E[1;6B,
64
+ kDN7=\E[1;7B, kEND3=\E[1;3F, kEND4=\E[1;4F,
65
+ kEND5=\E[1;5F, kEND6=\E[1;6F, kEND7=\E[1;7F,
66
+ kHOM3=\E[1;3H, kHOM4=\E[1;4H, kHOM5=\E[1;5H,
67
+ kHOM6=\E[1;6H, kHOM7=\E[1;7H, kIC3=\E[2;3~, kIC4=\E[2;4~,
68
+ kIC5=\E[2;5~, kIC6=\E[2;6~, kIC7=\E[2;7~, kLFT3=\E[1;3D,
69
+ kLFT4=\E[1;4D, kLFT5=\E[1;5D, kLFT6=\E[1;6D,
70
+ kLFT7=\E[1;7D, kNXT3=\E[6;3~, kNXT4=\E[6;4~,
71
+ kNXT5=\E[6;5~, kNXT6=\E[6;6~, kNXT7=\E[6;7~,
72
+ kPRV3=\E[5;3~, kPRV4=\E[5;4~, kPRV5=\E[5;5~,
73
+ kPRV6=\E[5;6~, kPRV7=\E[5;7~, kRIT3=\E[1;3C,
74
+ kRIT4=\E[1;4C, kRIT5=\E[1;5C, kRIT6=\E[1;6C,
75
+ kRIT7=\E[1;7C, kUP=\E[1;2A, kUP3=\E[1;3A, kUP4=\E[1;4A,
76
+ kUP5=\E[1;5A, kUP6=\E[1;6A, kUP7=\E[1;7A, kxIN=\E[I,
77
+ kxOUT=\E[O, rmxx=\E[29m, rv=\E\\[[0-9]+;[0-9]+;[0-9]+c,
78
+ setrgbb=\E[48\:2\:%p1%d\:%p2%d\:%p3%dm,
79
+ setrgbf=\E[38\:2\:%p1%d\:%p2%d\:%p3%dm, smxx=\E[9m,
80
+ xm=\E[<%i%p3%d;%p1%d;%p2%d;%?%p4%tM%em%;,
81
+ xr=\EP>\\|[ -~]+a\E\\,
@@ -0,0 +1,101 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5
+ ROOT_DIR="$(cd "$SCRIPT_DIR/../.." && pwd)"
6
+ source "$ROOT_DIR/lib/common.sh"
7
+
8
+ usage() {
9
+ cat << USAGE
10
+ Usage: ${0##*/} [options]
11
+
12
+ Options:
13
+ -n, --name <name> Git user.name
14
+ -e, --email <email> Git user.email
15
+ -E, --editor <editor> Git core.editor (optional)
16
+ -h, --help Show this help
17
+
18
+ Environment variables:
19
+ GIT_NAME, GIT_EMAIL, GIT_EDITOR
20
+
21
+ Examples:
22
+ ${0##*/} -n "Sagar Sarkale" -e sagar@example.com
23
+ GIT_NAME="Sagar" GIT_EMAIL="sagar@example.com" ${0##*/}
24
+ USAGE
25
+ exit 0
26
+ }
27
+
28
+ GIT_NAME="${GIT_NAME:-}"
29
+ GIT_EMAIL="${GIT_EMAIL:-}"
30
+ GIT_EDITOR="${GIT_EDITOR:-}"
31
+
32
+ while [[ $# -gt 0 ]]; do
33
+ case "$1" in
34
+ -n|--name) GIT_NAME="$2"; shift 2 ;;
35
+ -e|--email) GIT_EMAIL="$2"; shift 2 ;;
36
+ -E|--editor) GIT_EDITOR="$2"; shift 2 ;;
37
+ -h|--help) usage ;;
38
+ *) fail "Unknown option: $1"; exit 1 ;;
39
+ esac
40
+ done
41
+
42
+ step "Installing GitHub CLI"
43
+
44
+ if ! command -v gh &>/dev/null; then
45
+ warn "gh not found — installing"
46
+ if [[ "$PLATFORM" == "mac" ]]; then
47
+ ensure_cmd brew brew
48
+ brew_install_formula gh
49
+ else
50
+ if command -v apt-get &>/dev/null; then
51
+ sudo apt-get update -qq
52
+ sudo apt-get install -y -qq curl gnupg
53
+ curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
54
+ sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
55
+ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list >/dev/null
56
+ sudo apt-get update -qq
57
+ sudo apt-get install -y -qq gh
58
+ elif command -v dnf &>/dev/null; then
59
+ sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
60
+ sudo dnf install -y gh
61
+ else
62
+ fail "No supported package manager for gh"
63
+ exit 1
64
+ fi
65
+ fi
66
+ ok "gh installed"
67
+ else
68
+ ok "gh ${D}$(gh --version 2>/dev/null | head -1)${R}"
69
+ fi
70
+
71
+ step "Configuring git"
72
+
73
+ backup_file "$HOME/.gitconfig"
74
+
75
+ if [[ -n "$GIT_NAME" ]]; then
76
+ git config --global user.name "$GIT_NAME"
77
+ ok "git user.name ${D}→ $GIT_NAME${R}"
78
+ else
79
+ warn "git user.name unchanged (pass -n or set GIT_NAME)"
80
+ fi
81
+
82
+ if [[ -n "$GIT_EMAIL" ]]; then
83
+ git config --global user.email "$GIT_EMAIL"
84
+ ok "git user.email ${D}→ $GIT_EMAIL${R}"
85
+ else
86
+ warn "git user.email unchanged (pass -e or set GIT_EMAIL)"
87
+ fi
88
+
89
+ git config --global init.defaultBranch main
90
+ git config --global push.default simple
91
+ ok "git init.defaultBranch = main, push.default = simple"
92
+
93
+ if [[ -n "$GIT_EDITOR" ]]; then
94
+ git config --global core.editor "$GIT_EDITOR"
95
+ ok "git core.editor ${D}→ $GIT_EDITOR${R}"
96
+ fi
97
+
98
+ echo ""
99
+ echo -e " ${GRN}Done!${R} Run ${CYN}gh auth login${R} to authenticate"
100
+ echo -e " ${D}Git config: ~/.gitconfig${R}"
101
+ echo ""
@@ -0,0 +1,8 @@
1
+ name = "github"
2
+ description = "GitHub CLI and global git config without credentials"
3
+ platforms = ["mac", "linux"]
4
+ kind = "config"
5
+
6
+ [detect]
7
+ commands = ["gh"]
8
+ paths = ["~/.gitconfig"]