summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-30 05:05:06 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-30 05:05:06 +0900
commitcf39a978cba1affb9233521ff84de265e308b40d (patch)
tree6f076cfe671d057ec0080178eafc2e79c6b3ef79
parent8b845deb31b95f31b502c506f31f078de14c31d5 (diff)
modified gtk-2.0/gtkrc-2.0, modified bin/stw
-rw-r--r--ar/.config/gtk-2.0/gtkrc-2.02
-rwxr-xr-xar/.local/bin/stw15
2 files changed, 4 insertions, 13 deletions
diff --git a/ar/.config/gtk-2.0/gtkrc-2.0 b/ar/.config/gtk-2.0/gtkrc-2.0
index 28a78df..9eacda9 100644
--- a/ar/.config/gtk-2.0/gtkrc-2.0
+++ b/ar/.config/gtk-2.0/gtkrc-2.0
@@ -1,7 +1,7 @@
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
-include "~/.gtkrc-2.0.mine"
+include "~/.config/gtk-2.0/gtkrc-2.0.mine"
gtk-theme-name="Arc-Gruvbox"
gtk-icon-theme-name="Adwaita"
gtk-font-name="Sans 10"
diff --git a/ar/.local/bin/stw b/ar/.local/bin/stw
index 2e221d1..1a1a51c 100755
--- a/ar/.local/bin/stw
+++ b/ar/.local/bin/stw
@@ -52,12 +52,6 @@ stow_package() {
fi
}
-mail_sync() {
- [ -f "${XDG_CONFIG_HOME:-${HOME}/.config}/mutt/muttrc" ] && [ -f "${XDG_CONFIG_HOME:-${HOME}/.config}/mutt/thesiah.muttrc" ] &&
- ! grep -qF "source /home/$USER/.config/mutt/thesiah.muttrc" "${XDG_CONFIG_HOME:-${HOME}/.config}/mutt/muttrc" &&
- sed -i "/source \/usr\/share\/mutt-wizard\/mutt-wizard\.muttrc/a source \/home\/$USER\/.config\/mutt\/thesiah\.muttrc" /home/"$USER"/.config/mutt/muttrc
-}
-
# Ensure running from the correct directory
cd "$stowdir" || exit 1
@@ -67,19 +61,16 @@ targetdir=$(select_stow_package) || exit 1
# Ask the user for the resolution strategy
resolve=$(ask_resolution_strategy) || exit 1
+# Stow
stow_package "$targetdir" "$resolve" && stow_package "default" "$resolve" || exit
+
+# Link for profile
ln -sf "$stowdir/$targetdir/.config/shell/profile" "$HOME/.zprofile"
# Link for bash
ln -sf "$stowdir/$targetdir/.config/bash/bash_profile" "$HOME/.bash_profile"
ln -sf "$stowdir/$targetdir/.config/bash/bashrc" "$HOME/.bashrc"
-# Link for cro# Link for gtk 2.0
-ln -sf "$stowdir/$targetdir/.config/gtk-2.0/gtkrc-2.0" "$HOME/.gtkrc-2.0"
-
-# Sync mail
-mail_sync
-
# Reload shortcuts (assumes this functionality is defined elsewhere and works as expected)
shortcuts >/dev/null 2>&1 || exit 1
zsh -c "source '${XDG_CONFIG_HOME:-${HOME}/.config}/shell/shortcutrc'" 2>/dev/null || exit 1