This commit is contained in:
billy 2025-08-20 07:32:16 -04:00
parent cdc8c912fd
commit 9c3a4eb77c
2 changed files with 8 additions and 7 deletions

View File

@ -78,7 +78,7 @@ cecho "Installing yummy packages" fg_cyan
if $is_server; then
sudo apt install vim neovim git cifs-utils nfs-common ripgrep stow virtualenv wget zip unzip kitty python3-pip ncdu htop python3-venv curl
else
sudo apt install vim git cifs-utils nfs-common ripgrep stow virtualenv wget zip unzip kitty python3-pip ncdu htop libfuse-dev nemo python3-venv curl irssi qpwgraph steam-installer protontricks
sudo apt install vim git cifs-utils nfs-common ripgrep stow virtualenv wget zip unzip kitty python3-pip ncdu htop libfuse-dev nemo python3-venv curl irssi qpwgraph steam-installer protontricks zathura
# librewolf
sudo apt install extrepo -y
sudo extrepo enable librewolf
@ -124,6 +124,7 @@ fi
# xdg-mime default nemo.desktop inode/directory
xdg-mime default pcmanfm.desktop inode/directory
xdg-mime default nvim.desktop text/plain
xdg-mime default org.pwmt.zathura.desktop application/pdf
# This command installs kitty as an option for the default terminal emulator within the alternatives system, assigning it a priority of 50
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/kitty 50

View File

@ -12,7 +12,7 @@ if ! command_exists unzip; then
fi
# Create directory for fonts if it doesn't exist
mkdir -p ~/.fonts
mkdir -p ~/.local/share/fonts/
# Array of font names
fonts=(
@ -32,7 +32,7 @@ fonts=(
# Function to check if font directory exists
check_font_installed() {
font_name=$1
if [ -d ~/.fonts/$font_name ]; then
if [ -d ~/.local/share/fonts/$font_name ]; then
echo "Font $font_name is already installed. Skipping."
return 0 # Font already installed
else
@ -55,7 +55,7 @@ do
continue
fi
unzip -q /tmp/$font.zip -d ~/.fonts/$font/
unzip -q /tmp/$font.zip -d ~/.local/share/fonts/$font/
if [ $? -ne 0 ]; then
echo "Failed to extract font: $font"
continue