Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypass96 committed Dec 22, 2024
1 parent ed994ea commit 606069a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 28 deletions.
28 changes: 13 additions & 15 deletions arch_linux-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ sleep 10 ; clear

# Install a few command-line utilities.
echo -e "${BLUE}Installing a few command-line utilities...${NC}"
sudo pacman -S duf bat fd lynis btop --noconfirm
sudo pacman -S duf bat fd lynis btop wcurl --noconfirm
sleep 10 ; clear

# Install spell checking support.
Expand Down Expand Up @@ -118,23 +118,21 @@ sudo sed -i 's|https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o
sleep 10 ; clear

# Install Konsole color scheme.
read -p "$(echo -e "${YELLOW}Which Konsole colorscheme do you want?${NC}")
1. Catppuccin
2. OneHalf-Dark
3. Ayu Mirage
-> " $resp
if [ "$resp" = 1 ]; then
paru -S catppuccin-konsole-theme-git --noconfirm
fi
if [ "$resp" = 2 ]; then
wget https://raw.githubusercontent.com/sonph/onehalf/master/konsole/onehalf-dark.colorscheme
dialog --title "Konsole Colorscheme" --menu "Which Konsole colorscheme do you want?" 12 40 12 \
1 "Catppuccin" \
2 "OneHalf-Dark" \
3 "Ayu Mirage" 2> /tmp/konsole_resp
konsole_resp=$(cat /tmp/konsole_resp)
if [ "$konsole_resp" = 1 ]; then
paru -S catppuccin-konsole-theme-git --noconfirm
elif [ "$konsole_resp" = 2 ]; then
wcurl --curl-options="--progress-bar" https://raw.githubusercontent.com/sonph/onehalf/master/konsole/onehalf-dark.colorscheme
sudo mkdir -p /usr/share/konsole
sudo chmod 755 /usr/share/konsole
sudo mv onehalf-dark.colorscheme /usr/share/konsole
sudo chmod 644 /usr/share/konsole/onehalf-dark.colorscheme
fi
if [ "$resp" = 3 ]; then
curl https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/refs/heads/master/konsole/Ayu%20Mirage.colorscheme -o AyuMirage.colorscheme
elif [ "$konsole_resp" = 3 ]; then
wcurl --curl-options="--progress-bar" https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/refs/heads/master/konsole/Ayu%20Mirage.colorscheme -o AyuMirage.colorscheme
sudo mkdir -p /usr/share/konsole
sudo chmod 755 /usr/share/konsole
sudo mv AyuMirage.colorscheme /usr/share/konsole
Expand Down Expand Up @@ -254,7 +252,7 @@ sudo cp -v $HOME/linux-stuff/Dotfiles/config/fasfetch/config.jsonc /etc/skel/.co
# Fix directory permissions.
sudo chmod 755 /etc/skel/.config/fastfetch
# Fix config file permissions.
sudo chmod 644 /etc/skel/.config/fastfetch/config.jsonc
sudo chmod 644 /etc/skel/.config/fastfetch/config.jsonc
sleep 10 ; clear

# Install and configure VSCodium.
Expand Down
19 changes: 6 additions & 13 deletions debian_linux-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ sudo nala upgrade
clear

# Install some useful software.
sudo nala install audacity vlc fd-find bat lsd micro btop -y

sudo nala install audacity vlc fd-find bat lsd vim btop -y
clear

# Install OneHalf-Dark theme for Xfce terminal.
Expand All @@ -50,11 +49,8 @@ clear
# Install and setup Zsh.
nala install zsh -y && ./zsh-setup.sh

# Install pfetch.
sudo nala install git gcc make automake autoconf libtool -y
git clone https://github.com/dylanaraps/pfetch.git && cd pfetch
sudo make install
cd && rm -rf pfetch
# Install fastfetch.
sudo nala install fastfetch -y

clear

Expand All @@ -65,9 +61,10 @@ sudo ./cleanup-systemd-boot.sh
sudo ln -s /usr/bin/batcat /usr/bin/bat && ./bat-setup.sh
sudo ./wallpapers.sh
./lsd-setup.sh
./micro-setup.sh
./bat-setup.sh
./zsh-setup.sh
./fastfetch-setup.sh
./vim_setup.sh

# Install Brave web browser.
sudo nala install curl && sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
Expand All @@ -91,14 +88,10 @@ sudo chmod o-w /etc/default/grub
# Update environment variables.
# Enable write permissions.
sudo chmod o+w /etc/environment
# Configure pfetch.
echo "PF_INFO=\"ascii os kernel uptime pkgs shell editor de\"" >> /etc/environment
# Set BROWSER variable.
echo "BROWSER=brave" >> /etc/environment
# Set EDITOR variable.
echo "EDITOR=micro" >> /etc/environment
# Set MICRO_TRUECOLOR variable.
echo "MICRO_TRUECOLOR=1" >> /etc/environment
echo "EDITOR=vim" >> /etc/environment
# Remove write permissions.
sudo chmod o-w /etc/environment

Expand Down
5 changes: 5 additions & 0 deletions fedora-kde-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ clear

# Install Zsh.
dnf install -y zsh
./zsh-setup.sh

# Install fastfetch.
dnf install -y fastfetch
./fastfetch-setup.sh

clear

Expand Down

0 comments on commit 606069a

Please sign in to comment.