Cleanup and update stuff

This commit is contained in:
Tobias Reisinger 2023-07-02 13:42:44 +02:00
parent 8364becef3
commit b9d5b166f4
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
25 changed files with 253 additions and 93 deletions

View file

@ -11,28 +11,23 @@ license=("unknown")
groups=()
makedepends=(
"mkinitcpio" # initramfs
"xdg-desktop-portal-gtk" # xdg-desktop-portal-impl
"xdg-desktop-portal-hyprland" # xdg-desktop-portal-impl
"wireplumber" # pipewire-session-manager
"pipewire-jack" # libjack.so
)
depends=(
### BASE
"base"
"base" "base-devel"
"linux" "linux-firmware" "linux-headers"
"man-db" "man-pages" "usbutils" "sudo"
"mlocate" "vim"
"exfat-utils" "logrotate" "udisks2"
"zsh" "htop" "git" "wireguard-tools"
"zsh" "htop" "git" "tailscale"
"cups" "cups-pdf"
"docker" "docker-buildx" "docker-compose"
"pcsclite"
### BASE-DEVEL
"archlinux-keyring" "autoconf" "automake" "binutils" "bison" "debugedit"
"fakeroot" "file" "findutils" "flex" "gawk" "gcc" "gettext" "grep" "groff"
"gzip" "libtool" "m4" "make" "pacman" "patch" "pkgconf" "sed" "sudo"
"texinfo" "which"
### OTHER PACKAGE MANAGERS
"flatpak" "nix" "paru-bin"
@ -47,18 +42,12 @@ depends=(
"ttf-dejavu" "ttf-droid" "ttf-liberation" "ttf-opensans" "ttf-roboto"
"gnu-free-fonts"
### XORG
"xorg-server" "xorg-server-xvfb" "xorg-xfd" "xorg-xinit"
"xorg-xinput" "xorg-xlsclients" "xorg-xmodmap"
### GRAPHICAL
"vulkan-tools"
"mesa-vdpau" "libva-mesa-driver" "opencl-mesa"
"numlockx"
### APPLICATIONS
"sddm"
#"bemenu" "bemenu-x11" "j4-dmenu-desktop"
"bspwm"
#"sxhkd" "polybar"
"pipewire-pulse" "wireplumber" "vorbis-tools" "alsa-utils"
"gst-plugins-good" "gst-plugins-good" "gst-plugins-bad" "gst-plugins-ugly"
"polkit-gnome"
@ -67,9 +56,9 @@ depends=(
#"thunar" "tumbler" "ffmpegthumbnailer"
#"gtkspell"
"thunderbird"
"qutebrowser" "python-adblock" "python-pynacl" "pdfjs-legacy"
"qutebrowser-qt6-git" "python-adblock" "python-pynacl" "pdfjs-legacy"
"ungoogled-chromium" "firefox"
"chromium-widevine" "qt5-webengine-widevine"
"chromium-widevine" "qt6-webengine-widevine"
#"kdeconnect" "keepassxc"
"syncthing"
)
@ -79,13 +68,11 @@ source=(
"etc_pacman.conf"
"etc_pacman.d_default.conf"
"etc_pacman.d_hooks_95-systemd-boot.hook"
"etc_sddm.conf.d_autologin.conf"
"etc_sddm.conf.d_general.conf"
"etc_sysctl.d_90-sysrq.conf"
"etc_sddm.conf.d_10-general.conf"
"etc_sddm.conf.d_80-autologin.conf"
"etc_sysctl.d_90-serguzim-overrides.conf"
"etc_vconsole.conf"
"etc_xdg_reflector_reflector.conf"
"etc_X11_xorg.conf.d_10-keyboard.conf"
"etc_X11_xorg.conf.d_50-mouse-acceleration.conf"
)
sha256sums=(
"SKIP"
@ -98,38 +85,24 @@ sha256sums=(
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
)
backup=(
"boot/loader/loader.conf"
)
_sed_path() {
echo "$1" | sed -e "s/\//_/g"
}
_install() {
temp_pkg=$1
temp_src=$(_sed_path "$temp_pkg")
# shellcheck disable=SC2154
install "-Dm${2:-644}" "${srcdir}/${temp_src}" "${pkgdir}/${temp_pkg}"
}
. ../utils.sh
package() {
_install "etc/locale.conf"
_install "etc/mkinitcpio.conf"
_install "etc/pacman.conf"
_install "etc/pacman.d/default.conf"
_install "etc/pacman.d/hooks/95-systemd-boot.hook"
_install "etc/sddm.conf.d/autologin.conf"
_install "etc/sddm.conf.d/general.conf"
_install "etc/sysctl.d/90-sysrq.conf"
_install "etc/vconsole.conf"
_install "etc/X11/xorg.conf.d/10-keyboard.conf"
_install "etc/X11/xorg.conf.d/50-mouse-acceleration.conf"
_install "etc/xdg/reflector/reflector.conf"
_system_install "etc/locale.conf"
_system_install "etc/mkinitcpio.conf"
_system_install "etc/pacman.conf"
_system_install "etc/pacman.d/default.conf"
_system_install "etc/pacman.d/hooks/95-systemd-boot.hook"
_system_install "etc/sddm.conf.d/10-general.conf"
_system_install "etc/sddm.conf.d/80-autologin.conf"
_system_install "etc/sysctl.d/90-serguzim-overrides.conf"
_system_install "etc/vconsole.conf"
_system_install "etc/xdg/reflector/reflector.conf"
}
# vim: ft=sh

View file

@ -1,7 +0,0 @@
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "de"
Option "XkbOptions" "caps:none"
Option "XkbOptions" "compose:menu"
EndSection

View file

@ -1,7 +0,0 @@
Section "InputClass"
Identifier "libinput pointer catchall"
Driver "libinput"
MatchIsPointer "yes"
Option "AccelProfile" "flat"
Option "AccelSpeed" "0"
EndSection

View file

@ -1,8 +1,8 @@
[options]
HoldPkg = pacman glibc
HoldPkg = pacman glibc
Architecture = auto
NoExtract = etc/pacman.d/mirrorlist
NoExtract = etc/pacman.d/mirrorlist
UseSyslog
Color
@ -11,7 +11,7 @@ VerbosePkgLists
ParallelDownloads = 5
ILoveCandy
SigLevel = Required DatabaseOptional
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
[core]
@ -20,9 +20,6 @@ Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist

View file

@ -0,0 +1,5 @@
[General]
Numlock=on
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell

View file

@ -1,3 +1,3 @@
[Autologin]
User=tobias
Session=bspwm
Session=hyprland

View file

@ -1,2 +0,0 @@
[General]
Numlock=on

View file

@ -0,0 +1,2 @@
kernel.sysrq = 1
vm.max_map_count = 2147483642

View file

@ -1 +0,0 @@
kernel.sysrq = 1