Skip to content

Commit

Permalink
Merge pull request #65 from akshayr-mecha/chore-alacritty
Browse files Browse the repository at this point in the history
chore(allacritty setup): removes sudo for config setup
  • Loading branch information
akshayr-mecha authored Jan 3, 2025
2 parents 23c731a + 6ce0dba commit 886e049
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions debian/distro/modules/alacritty-config.nu
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,24 @@ export def configure_alacritty [] {
# Create config directory if it doesn't exist
if not ($config_dest | path exists) {
log_debug $"Creating directory: ($config_dest)"
SUDO mkdir -p $config_dest
mkdir -p $config_dest
}

# Copy configuration file
log_debug $"Copying ($alacritty_config) to ($config_dest)"
SUDO cp $alacritty_config $"($config_dest)/alacritty.yml"
cp $alacritty_config $"($config_dest)/alacritty.yml"
log_info "alacritty.yml copied successfully."

# Create theme directory and copy theme
log_info "Setting up Alacritty theme..."
if not ($theme_dest | path exists) {
log_debug $"Creating directory: ($theme_dest)"
SUDO mkdir -p $theme_dest
mkdir -p $theme_dest
}

# Copy theme file
log_debug $"Copying ($alacritty_theme) to ($theme_dest)"
SUDO cp $alacritty_theme $"($theme_dest)/flat-remix.yml"
cp $alacritty_theme $"($theme_dest)/flat-remix.yml"
log_info "flat-remix.yml theme file copied successfully."

log_debug "Alacritty configuration completed successfully."
Expand Down

0 comments on commit 886e049

Please sign in to comment.