diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml new file mode 100644 index 0000000..5a3cb1d --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,18 @@ +on: + push: + branches: + - master + - dev + +jobs: + shellcheck: + name: Shellcheck + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master + with: + severity: error + diff --git a/dotconfig/dolphinrc b/dotconfig/dolphinrc index e5971c5..617474d 100644 --- a/dotconfig/dolphinrc +++ b/dotconfig/dolphinrc @@ -1,3 +1,5 @@ +MenuBar=Disabled + [$Version] update_info=dolphin_detailsmodesettings.upd:rename-leading-padding @@ -18,4 +20,8 @@ MenuBar=Disabled ToolBarsMovable=Disabled [PreviewSettings] +<<<<<<< HEAD +Plugins=appimagethumbnail,audiothumbnail,blenderthumbnail,comicbookthumbnail,cursorthumbnail,djvuthumbnail,ebookthumbnail,exrthumbnail,imagethumbnail,jpegthumbnail,kraorathumbnail,windowsexethumbnail,windowsimagethumbnail,mltpreview,mobithumbnail,opendocumentthumbnail,gsthumbnail,svgthumbnail,rawthumbnail,fontthumbnail,ffmpegthumbs,directorythumbnail +======= Plugins=appimagethumbnail,audiothumbnail,blenderthumbnail,comicbookthumbnail,cursorthumbnail,djvuthumbnail,ebookthumbnail,exrthumbnail,directorythumbnail,fontthumbnail,imagethumbnail,jpegthumbnail,kraorathumbnail,windowsexethumbnail,windowsimagethumbnail,mltpreview,mobithumbnail,opendocumentthumbnail,gsthumbnail,rawthumbnail,svgthumbnail,ffmpegthumbs +>>>>>>> master diff --git a/dotconfig/kdeglobals b/dotconfig/kdeglobals index fdd5bd2..14d1450 100644 --- a/dotconfig/kdeglobals +++ b/dotconfig/kdeglobals @@ -142,6 +142,8 @@ ColorSchemeHash=01662607e36cd33eacc7d7d7189f69c26b9a2cc8 LookAndFeelPackage=org.kde.breezedark.desktop SingleClick=false +<<<<<<< HEAD +======= [KFileDialog Settings] Allow Expansion=false Automatically select filename extension=true @@ -161,6 +163,7 @@ Sort reversed=false Speedbar Width=138 View Style=DetailTree +>>>>>>> master [PreviewSettings] MaximumRemoteSize=0 diff --git a/install.sh b/install.sh index a464f55..3dcb681 100755 --- a/install.sh +++ b/install.sh @@ -9,6 +9,10 @@ fi username=$(id -u -n 1000) builddir=$(pwd) +# Mirror Test +apt install jq curl netselect-apt -y +"$builddir"/mirrortest + # Enable repos to have wider range of packages sed -r -i 's/^deb(.*)$/deb\1 contrib/g' /etc/apt/sources.list @@ -26,7 +30,7 @@ apt install nala -y # Making .config and Moving config files and background to Pictures -cd $builddir +cd "$builddir" || return mkdir -p /home/$username/.config mkdir -p /home/$username/.fonts cp -R dotconfig/* /home/$username/.config/ @@ -53,7 +57,7 @@ xargs flatpak install -y < $builddir/pkg-files/flatpak.txt xargs nala install -y < $builddir/pkg-files/optional.txt # Font Install -cd $builddir +cd "$builddir" || return nala install fonts-font-awesome -y wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip unzip FiraCode.zip -d /home/$username/.fonts diff --git a/mirrortest b/mirrortest new file mode 100755 index 0000000..e7a4e91 --- /dev/null +++ b/mirrortest @@ -0,0 +1,20 @@ +#!/bin/bash + +# Determine the country code of the current location +COUNTRY=$(curl -s ifconfig.co/country-iso) + +# Check Debian Version +VERSION=$(env -i bash -c ". /etc/os-release; echo $VERSION_CODENAME") + +# Find the fastest mirror for the specified country +sudo netselect-apt -c "$COUNTRY" "$VERSION" + +# Backup the current sources.list +sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak + +# Replace sources.list with the newly generated one +sudo mv sources.list /etc/apt/sources.list + +# Update the package list +sudo apt-get update +