@heyitsiveen/dotfiles 1.0.2 → 1.0.4

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.
package/README.md CHANGED
@@ -5,6 +5,7 @@ Interactive CLI to set up dotfiles for macOS and Windows 11. One command to inst
5
5
  <!-- TODO: Replace with actual recording -->
6
6
  <!-- ![Demo](docs/demo.gif) -->
7
7
  <!-- [How to record the demo GIF](docs/recording-demo.md) -->
8
+ ![Demo](assets/demo.gif)
8
9
 
9
10
  ## Table of Contents
10
11
 
package/dist/index.mjs CHANGED
@@ -258,7 +258,7 @@ function getDependencyTools(platform) {
258
258
  {
259
259
  name: "fastfetch",
260
260
  binary: "fastfetch",
261
- description: "System info terminal greeting",
261
+ description: "System info tool",
262
262
  installCmd: "brew install fastfetch",
263
263
  required: false
264
264
  },
@@ -296,7 +296,7 @@ function getDependencyTools(platform) {
296
296
  {
297
297
  name: "fastfetch",
298
298
  binary: "fastfetch",
299
- description: "System info terminal greeting",
299
+ description: "System info tool",
300
300
  installCmd: "winget install Fastfetch-cli.Fastfetch",
301
301
  required: false
302
302
  },
@@ -650,7 +650,7 @@ async function switchTideTheme(targetDir, theme) {
650
650
  await writeFile(filePath, (await readFile(filePath, "utf-8")).replace(/^(set -l tide_default_palette )\S+$/m, `$1${tidePalettes[theme]}`), "utf-8");
651
651
  }
652
652
  async function switchOmpTheme(theme) {
653
- const themeDir = join(homedir(), ".config", "dotfiles");
653
+ const themeDir = join(homedir(), MANIFEST_DIR, "oh-my-posh");
654
654
  await ensureDir(themeDir);
655
655
  await writeFile(join(themeDir, "prompt-theme.txt"), theme, "utf-8");
656
656
  }
@@ -1,27 +1,20 @@
1
1
  function _tide_init_install --on-event _tide_init_install
2
2
  set -U VIRTUAL_ENV_DISABLE_PROMPT true
3
3
 
4
- source (functions --details _tide_sub_configure)
5
- _load_config lean
6
- _tide_finish
7
-
8
- if status is-interactive
9
- tide bug-report --check || sleep 4
10
-
11
- if contains ilancosman/tide (string lower $_fisher_plugins)
12
- set_color bryellow
13
- echo "ilancosman/tide is a development branch. Please install from a release tag:"
14
- _tide_fish_colorize "fisher install ilancosman/tide@v6"
15
- sleep 3
16
- end
17
-
18
- switch (read --prompt-str="Configure tide prompt? [Y/n] " | string lower)
19
- case y ye yes ''
20
- tide configure
21
- case '*'
22
- echo -s \n 'Run ' (_tide_fish_colorize "tide configure") ' to customize your prompt.'
23
- end
24
- end
4
+ tide configure --auto \
5
+ --style=Rainbow \
6
+ --prompt_colors='True color' \
7
+ --show_time='24-hour format' \
8
+ --rainbow_prompt_separators=Angled \
9
+ --powerline_prompt_heads=Sharp \
10
+ --powerline_prompt_tails=Sharp \
11
+ --powerline_prompt_style='Two lines, character and frame' \
12
+ --prompt_connection=Disconnected \
13
+ --powerline_right_prompt_frame=Yes \
14
+ --prompt_connection_andor_frame_color=Lightest \
15
+ --prompt_spacing=Sparse \
16
+ --icons='Many icons' \
17
+ --transient=No
25
18
  end
26
19
 
27
20
  function _tide_init_update --on-event _tide_init_update
@@ -1,5 +1,2 @@
1
- function fish_greeting -d "Custom greeting with fastfetch"
2
- if type -q fastfetch
3
- fastfetch
4
- end
1
+ function fish_greeting -d "Disable default greeting"
5
2
  end
@@ -30,7 +30,3 @@ if (Test-Path $bunBin) {
30
30
  $env:PATH = "$bunBin;$env:PATH"
31
31
  }
32
32
 
33
- # --- Greeting (fastfetch) ---
34
- if (Get-Command fastfetch -ErrorAction SilentlyContinue) {
35
- fastfetch
36
- }
@@ -23,7 +23,7 @@ function Switch-PromptPalette {
23
23
  }
24
24
 
25
25
  # Persist selection
26
- $configDir = Join-Path $env:USERPROFILE '.config\dotfiles'
26
+ $configDir = Join-Path $env:USERPROFILE '.config\heyitsiveen\dotfiles\oh-my-posh'
27
27
  if (-not (Test-Path $configDir)) {
28
28
  New-Item -ItemType Directory -Path $configDir -Force | Out-Null
29
29
  }
@@ -2,13 +2,13 @@
2
2
  # Prompt — oh-my-posh initialization
3
3
  # =============================================================================
4
4
  # Converted from: dotfiles-macos/.config/fish/conf.d/70-tide.fish
5
- # Reads the active palette from ~/.config/dotfiles/prompt-theme.txt
5
+ # Reads the active palette from ~/.config/heyitsiveen/dotfiles/prompt-theme.txt
6
6
  # Valid values: solarized-dark (default), vercel, vesper
7
7
 
8
8
  if (-not (Get-Command oh-my-posh -ErrorAction SilentlyContinue)) { return }
9
9
 
10
10
  # Read persisted theme preference (defaults to solarized-dark)
11
- $themeConfigDir = Join-Path $env:USERPROFILE '.config\dotfiles'
11
+ $themeConfigDir = Join-Path $env:USERPROFILE '.config\heyitsiveen\dotfiles\oh-my-posh'
12
12
  $themeConfigFile = Join-Path $themeConfigDir 'prompt-theme.txt'
13
13
  $validThemes = @('solarized-dark', 'vercel', 'vesper')
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyitsiveen/dotfiles",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Interactive CLI to set up dotfiles for macOS and Windows 11",
5
5
  "type": "module",
6
6
  "bin": {