From 439d249e42ddba594115411a4eafc6140cf46dfc Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Mon, 28 Nov 2022 11:26:59 -0500 Subject: Use soft links instead of hard links --- modules/10-i3/install.sh | 4 ++-- modules/20-alacritty/install.sh | 4 ++-- modules/20-zsh/install.sh | 2 +- modules/40-git/install.sh | 2 +- modules/40-neofetch/install.sh | 2 +- modules/50-discord/discord.json | 3 +-- modules/50-discord/install.sh | 2 +- 7 files changed, 9 insertions(+), 10 deletions(-) diff --git a/modules/10-i3/install.sh b/modules/10-i3/install.sh index b5ed0e1..dfb4501 100644 --- a/modules/10-i3/install.sh +++ b/modules/10-i3/install.sh @@ -38,8 +38,8 @@ function install() { log info "linking i3 config" mkdir -p "$HOME/.config/i3" - ln -f "$_scriptdir/config" "$HOME/.config/i3/config" + ln -sf "$_scriptdir/config" "$HOME/.config/i3/config" log info "linking xinitrc" - ln -f "$_scriptdir/xinitrc" "$HOME/.xinitrc" + ln -sf "$_scriptdir/xinitrc" "$HOME/.xinitrc" } diff --git a/modules/20-alacritty/install.sh b/modules/20-alacritty/install.sh index 0cb7f22..f9527c3 100644 --- a/modules/20-alacritty/install.sh +++ b/modules/20-alacritty/install.sh @@ -22,8 +22,8 @@ function install() { log info "linking i3 config" mkdir -p "$HOME/.config/i3" - ln -f "$_scriptdir/config" "$HOME/.config/i3/config" + ln -sf "$_scriptdir/config" "$HOME/.config/i3/config" log info "linking xinitrc" - ln -f "$_scriptdir/xinitrc" "$HOME/.xinitrc" + ln -sf "$_scriptdir/xinitrc" "$HOME/.xinitrc" } diff --git a/modules/20-zsh/install.sh b/modules/20-zsh/install.sh index a4d4587..7d76729 100644 --- a/modules/20-zsh/install.sh +++ b/modules/20-zsh/install.sh @@ -33,5 +33,5 @@ function install() { cd "$HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" && git pull fi - ln -f "$_scriptdir/zshrc" "$HOME/.zshrc" + ln -sf "$_scriptdir/zshrc" "$HOME/.zshrc" } diff --git a/modules/40-git/install.sh b/modules/40-git/install.sh index 1e062bc..f75e6ad 100644 --- a/modules/40-git/install.sh +++ b/modules/40-git/install.sh @@ -22,5 +22,5 @@ function install() { fi log info "linking gitconfig" - ln -f "$_scriptdir/gitconfig" "$HOME/.gitconfig" + ln -sf "$_scriptdir/gitconfig" "$HOME/.gitconfig" } diff --git a/modules/40-neofetch/install.sh b/modules/40-neofetch/install.sh index 39ef2f2..bd1e900 100644 --- a/modules/40-neofetch/install.sh +++ b/modules/40-neofetch/install.sh @@ -20,5 +20,5 @@ function install() { log info "linking neofetch config" mkdir -p "$HOME/.config/neofetch" - ln -f "$_scriptdir/config.conf" "$HOME/.config/neofetch/config.conf" + ln -sf "$_scriptdir/config.conf" "$HOME/.config/neofetch/config.conf" } diff --git a/modules/50-discord/discord.json b/modules/50-discord/discord.json index e4fa387..1ee0936 100644 --- a/modules/50-discord/discord.json +++ b/modules/50-discord/discord.json @@ -50,7 +50,7 @@ }, "fixmentions": true, "greentext": true, - "imgxis": false, + "imgxis": true, "linuxUpdater": true, "noJoinMessageWave": true, "noReplyChainNag": true, @@ -70,7 +70,6 @@ "clearUrls": true, "inviteToNowhere": true, "panic": true, - "timestampSeconds": false, "typingAvatars": true, "css": { "enabled": true, diff --git a/modules/50-discord/install.sh b/modules/50-discord/install.sh index 1589a5c..4c926b3 100644 --- a/modules/50-discord/install.sh +++ b/modules/50-discord/install.sh @@ -20,5 +20,5 @@ function install() { log info "linking hh3 config" mkdir -p "$HOME/.config/hh3" - ln -f "$_scriptdir/discord.json" "$HOME/.config/hh3/discord.json" + ln -sf "$_scriptdir/discord.json" "$HOME/.config/hh3/discord.json" } -- cgit v1.2.3