@heyitsiveen/dotfiles 1.0.2 → 1.0.3

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/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,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.3",
4
4
  "description": "Interactive CLI to set up dotfiles for macOS and Windows 11",
5
5
  "type": "module",
6
6
  "bin": {