Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #18

Merged
merged 17 commits into from
Jul 9, 2024
18 changes: 18 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -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

6 changes: 6 additions & 0 deletions dotconfig/dolphinrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
MenuBar=Disabled

[$Version]
update_info=dolphin_detailsmodesettings.upd:rename-leading-padding

Expand All @@ -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
3 changes: 3 additions & 0 deletions dotconfig/kdeglobals
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ ColorSchemeHash=01662607e36cd33eacc7d7d7189f69c26b9a2cc8
LookAndFeelPackage=org.kde.breezedark.desktop
SingleClick=false

<<<<<<< HEAD
=======
[KFileDialog Settings]
Allow Expansion=false
Automatically select filename extension=true
Expand All @@ -161,6 +163,7 @@ Sort reversed=false
Speedbar Width=138
View Style=DetailTree

>>>>>>> master
[PreviewSettings]
MaximumRemoteSize=0

Expand Down
8 changes: 6 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/
Expand All @@ -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
Expand Down
20 changes: 20 additions & 0 deletions mirrortest
Original file line number Diff line number Diff line change
@@ -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

Loading