Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
arcolinuxz committed Jul 22, 2022
0 parents commit 285396e
Show file tree
Hide file tree
Showing 310 changed files with 24,101 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Edu system

Everything I need in one package
126 changes: 126 additions & 0 deletions git-v1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
#!/bin/bash
#set -e
##################################################################################################################
# Author : Erik Dubois
# Website : https://www.erikdubois.be
# Website : https://www.alci.online
# Website : https://www.arcolinux.info
# Website : https://www.arcolinux.com
# Website : https://www.arcolinuxd.com
# Website : https://www.arcolinuxb.com
# Website : https://www.arcolinuxiso.com
# Website : https://www.arcolinuxforum.com
##################################################################################################################
#
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK.
#
##################################################################################################################
#tput setaf 0 = black
#tput setaf 1 = red
#tput setaf 2 = green
#tput setaf 3 = yellow
#tput setaf 4 = dark blue
#tput setaf 5 = purple
#tput setaf 6 = cyan
#tput setaf 7 = gray
#tput setaf 8 = light blue
##################################################################################################################

# reset - commit your changes or stash them before you merge
# git reset --hard

rm -rf root
mkdir root
rm -rf /tmp/input

directories=(
arcolinux-alacritty
arcolinux-bin
arcolinux-config-all-desktops
arcolinux-fish
arcolinux-fonts
arcolinux-gtk3-arcolinux-candy-beauty
arcolinux-kvantum
arcolinux-local-applications-all-hide
arcolinux-local-applications
arcolinux-local-xfce4
arcolinux-neofetch
arcolinux-nitrogen
arcolinux-paru
arcolinux-qt5
arcolinux-root
arcolinux-system-config
arcolinux-variety
arcolinux-variety-autostart
arcolinux-volumeicon
arcolinux-xfce
arcolinux-zsh)

count=0

for name in "${directories[@]}"; do
count=$[count+1]
tput setaf 1;echo "$count ": Github " $name ";tput sgr0;

git clone https://github.com/arcolinux/$name --depth=1 /tmp/input

rm -rf /tmp/input/.git
rm /tmp/input/git*
rm /tmp/input/LICENSE
rm /tmp/input/README.md
rm /tmp/input/setup-our-git-credentials.sh

cp -r /tmp/input/* root

rm -rf /tmp/input

tput setaf 2;
echo "#################################################"
echo "################ "$name" done"
echo "#################################################"
tput sgr0;
done

rm root//etc/X11/xorg.conf.d/30-touchpad.conf
rm root/etc/pacman.d/hooks/arcolinux-system-config-logo.hook
rm root/etc/pacman.d/hooks/filesystem-logo.hook
rm root/etc/pacman.d/hooks/lsb-release.hook
rm root/etc/pacman.d/hooks/os-release.hook
rm root/usr/lib/os-release-arcolinux

rm root/usr/local/bin/arcolinux-lsb-release
rm root/usr/local/bin/arcolinux-os-release

#rm root/etc/pacman.d/hooks/archlinux-appstream-data.hook
#rm root/usr/local/bin/arcolinux-appstream-data-fix

# Below command will backup everything inside the project folder
git add --all .
#git add --all root

# Give a comment to the commit if you want
echo "####################################"
echo "Write your commit comment!"
echo "####################################"

read input

# Committing to the local repository with a message containing the time details and commit text

git commit -m "$input"

# Push the local files to github

if grep -q main .git/config; then
echo "Using main"
git push -u origin main
fi

if grep -q master .git/config; then
echo "Using master"
git push -u origin master
fi

echo "################################################################"
echo "################### Git Push Done ######################"
echo "################################################################"
9 changes: 9 additions & 0 deletions root/etc/X11/xorg.conf.d/99-killX.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Section "ServerFlags"
Option "DontZap" "false"
EndSection

Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
2 changes: 2 additions & 0 deletions root/etc/modprobe.d/disable-evbug.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#disable messy debug messages
blacklist evbug
1 change: 1 addition & 0 deletions root/etc/modprobe.d/nobeep.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blacklist pcspkr
2 changes: 2 additions & 0 deletions root/etc/modprobe.d/snd_pcsp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#Fix sound problems
blacklist snd_pcsp
16 changes: 16 additions & 0 deletions root/etc/pacman.d/gnupg/gpg.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
no-greeting
no-permission-warning
lock-never
keyserver-options timeout=10
keyserver-options import-clean
keyserver-options no-self-sigs-only

#keyserver hkp://keys.openpgp.org
keyserver hkp://keys.openpgp.org:80
#keyserver hkps://keys.openpgp.org
keyserver hkps://keys.openpgp.org:443
keyserver hkps://keyserver.ubuntu.com:443
keyserver hkp://keyserver.ubuntu.com:80
keyserver hkp://pool.sks-keyservers.net:80
keyserver hkps://hkps.pool.sks-keyservers.net:443
keyserver hkp://ipv4.pool.sks-keyservers.net:11371
11 changes: 11 additions & 0 deletions root/etc/pacman.d/hooks/amd-ucode.hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = amd-ucode

[Action]
Description = Pacman hook to keep an up-to-date grub
When = PostTransaction
Exec = /bin/sh -c "grub-mkconfig -o /boot/grub/grub.cfg"
19 changes: 19 additions & 0 deletions root/etc/pacman.d/hooks/desktop-files.hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = btrfs-assistant
Target = timeshift
Target = proton-community-updater
Target = yin-yang-git
Target = xdman
Target = florencd
Target = ms-office-online
Target = realvnc-vnc-*
Target = waydroid
Target = wacom-utility

[Action]
Description = Pacman hook for desktop files
When = PostTransaction
Exec = /usr/local/bin/arcolinux-fix-desktop-files
11 changes: 11 additions & 0 deletions root/etc/pacman.d/hooks/intel-ucode.hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = intel-ucode

[Action]
Description = Pacman hook to keep an up-to-date grub
When = PostTransaction
Exec = /bin/sh -c "grub-mkconfig -o /boot/grub/grub.cfg"
26 changes: 26 additions & 0 deletions root/etc/pacman.d/hooks/kernel-linux.hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = linux
Target = linux-next*
Target = linux-new*
Target = linux-amd*
Target = linux-lts*
Target = linux-zen*
Target = linux-hardened*
Target = linux-xanmod*
Target = linux-tkg*
Target = linux-raven*
Target = linux-slim*
Target = linux-test*
Target = linux-main*
Target = linux-dctxmei*
Target = linux-froidzen*
Target = linux-jwrdegoede*

[Action]
Description = Pacman hook to update-grub automatically
When = PostTransaction
Exec = /bin/sh -c "grub-mkconfig -o /boot/grub/grub.cfg"
18 changes: 18 additions & 0 deletions root/etc/pacman.d/hooks/nvidia.hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
Target=nvidia
Target=nvidia-lts
Target=nvidia-dkms
Target=nvidia-beta
Target=nvidia-340xx
Target=nvidia-390xx

[Action]
Description=Update Nvidia module in initcpio
Depends=mkinitcpio
When=PostTransaction
NeedsTargets
Exec=/bin/sh -c 'while read -r trg; do case $trg in linux) exit 0; esac; done; /usr/bin/mkinitcpio -P'
13 changes: 13 additions & 0 deletions root/etc/pacman.d/hooks/reboot-important-updates.hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Trigger]
Operation = Upgrade
Operation = Install
Operation = Remove
Type = Package
Target = linux*
Target = systemd*
Target = nvidia*

[Action]
Description = #### Important Linux packages have changed. Reboot is recommended. ####
When = PostTransaction
Exec = /usr/bin/true
Loading

0 comments on commit 285396e

Please sign in to comment.