This commit is contained in:
adi1090x 2021-10-04 17:08:44 +05:30
parent 43c327e4dd
commit f92eaf5d3e
15 changed files with 60 additions and 64 deletions

View File

@ -1,35 +0,0 @@
#
# [greeter]
# debug_mode = Greeter theme debug mode.
# detect_theme_errors = Provide an option to load a fallback theme when theme errors are detected.
# screensaver_timeout = Blank the screen after this many seconds of inactivity.
# secure_mode = Don't allow themes to make remote http requests.
# time_format = A moment.js format string so the greeter can generate localized time for display.
# time_language = Language to use when displaying the time or "auto" to use the system's language.
# webkit_theme = Webkit theme to use.
#
# NOTE: See moment.js documentation for format string options: http://momentjs.com/docs/#/displaying/format/
#
[greeter]
debug_mode = false
detect_theme_errors = true
screensaver_timeout = 300
secure_mode = true
time_format = LT
time_language = auto
webkit_theme = archcraft
#
# [branding]
# background_images = Path to directory that contains background images for use by themes.
# logo = Path to logo image for use by greeter themes.
# user_image = Default user image/avatar. This is used by themes for users that have no .face image.
#
# NOTE: Paths must be accessible to the lightdm system user account (so they cannot be anywhere in /home)
#
[branding]
background_images = /usr/share/lightdm-webkit/themes/archcraft/assets/bg
logo = /usr/share/pixmaps/archcraft-logo.svg
user_image = /usr/share/pixmaps/archcraft-user.svg

View File

@ -4,7 +4,7 @@
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)
MODULES=(i915? amdgpu? radeon? nouveau? vboxvideo? vmwgfx?)
MODULES=(i915? amdgpu? radeon? nvidia? nouveau? vboxvideo? vmwgfx?)
# BINARIES
# This setting includes any additional binaries a given user may
@ -49,7 +49,7 @@ FILES=()
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS=(base udev modconf plymouth archiso_shutdown archiso archiso_loop_mnt archiso_kms block filesystems keyboard)
HOOKS=(base udev plymouth archiso_shutdown archiso archiso_loop_mnt archiso_kms modconf block filesystems keyboard)
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression

View File

@ -0,0 +1,10 @@
[Autologin]
# Whether sddm should automatically log back into sessions when they exit
Relogin=false
# Name of session file for autologin session (if empty try last logged in)
Session=openbox
# Username for autologin session
User=liveuser

View File

@ -0,0 +1,25 @@
[Theme]
# Current theme name
Current=archcraft
# Cursor theme used in the greeter
CursorTheme=Qogirr
# Number of users to use as threshold
# above which avatars are disabled
# unless explicitly enabled with EnableAvatars
DisableAvatarsThreshold=7
# Enable display of custom user avatars
EnableAvatars=true
# Global directory for user avatars
# The files should be named <username>.face.icon
FacesDir=/usr/share/sddm/faces
# Font used in the greeter
Font="Iosevka"
# Theme directory path
ThemeDir=/usr/share/sddm/themes

View File

@ -1 +1 @@
/usr/lib/systemd/system/lightdm-plymouth.service
/usr/lib/systemd/system/sddm-plymouth.service

View File

@ -1 +0,0 @@
/usr/lib/systemd/system/apparmor.service

View File

@ -1 +0,0 @@
/usr/lib/systemd/system/snapd.apparmor.service

View File

@ -1 +0,0 @@
/usr/lib/systemd/system/snapd.socket

View File

@ -117,14 +117,6 @@ EOL
## -------------------------------------------------------------- ##
## Lightdm config (Greeter, Autologin)
lightdm_config='/etc/lightdm/lightdm.conf'
sed -i -e 's|#greeter-session=.*|greeter-session=lightdm-webkit2-greeter|g' "$lightdm_config"
sed -i -e 's|#autologin-user=.*|autologin-user=liveuser|g' "$lightdm_config"
sed -i -e 's|#autologin-session=.*|autologin-session=openbox|g' "$lightdm_config"
groupadd -r autologin
gpasswd -a liveuser autologin
## Set `Qogirr` as default cursor theme
sed -i -e 's|Inherits=.*|Inherits=Qogirr|g' /usr/share/icons/default/index.theme
mkdir -p /etc/skel/.icons && cp -rf /usr/share/icons/default /etc/skel/.icons/default

View File

@ -1,5 +1,16 @@
<h2 align="center">Archcraft : Changelogs</h2>
### October 2021
**`Bug Fix Release for v21.09`**
- Fixed `drivers getting removed via installer` bug (backlight, external monitor issues)
- Removed support for `flatpak` as it caused issue with thunar and plank (and other gtk applications)
- Removed support for `snaps` (Arch community really hated it)
- Replaced `lightdm` with **`sddm`**, as webkit2-greeter was causing issues on older machines
- Improved `openbox`, `bspwm`, `polybar` and other stuff
- And... I learned that I don't ~~need to~~ have to add everything people suggest
#
### September 2021
- Created from scratch (for better updates and easy maintenance)
- New **`base`**, **`logo`**, **`packages`**, **`repository`**, etc

View File

@ -3,4 +3,4 @@ linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
initrd /%INSTALL_DIR%/boot/intel-ucode.img
initrd /%INSTALL_DIR%/boot/amd-ucode.img
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 lsm=landlock,lockdown,yama,apparmor,bpf cow_spacesize=5G
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 cow_spacesize=5G

View File

@ -3,4 +3,4 @@ linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
initrd /%INSTALL_DIR%/boot/intel-ucode.img
initrd /%INSTALL_DIR%/boot/amd-ucode.img
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 lsm=landlock,lockdown,yama,apparmor,bpf cow_spacesize=1G
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 cow_spacesize=1G

View File

@ -3,4 +3,4 @@ linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
initrd /%INSTALL_DIR%/boot/intel-ucode.img
initrd /%INSTALL_DIR%/boot/amd-ucode.img
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 lsm=landlock,lockdown,yama,apparmor,bpf cow_spacesize=5G nouveau.modeset=0 modprobe.blacklist=nouveau nvidia i915.modeset=1 radeon.modeset=1
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 cow_spacesize=5G nouveau.modeset=0 modprobe.blacklist=nouveau nvidia i915.modeset=1 radeon.modeset=1

View File

@ -238,6 +238,7 @@ neovim
## Fonts -----
noto-fonts
noto-fonts-emoji
terminus-font
ttf-dejavu
@ -293,11 +294,6 @@ slop
xfce4-power-manager
xfce4-settings
## ADS -----
flatpak
snapd
pamac-all
## QT Style -----
kvantum-qt5
qt5ct
@ -326,9 +322,8 @@ plymouth
archcraft-plymouth-theme
##-------- Display Manager ----------##
lightdm
lightdm-webkit2-greeter
archcraft-lightdm-webkit2-theme
sddm
archcraft-sddm-theme-default
##-------- Archcraft Packages -------##
archcraft-cursors
@ -359,14 +354,15 @@ chaotic-keyring
##-------- AUR Packages -------------##
betterlockscreen
blight
cava
colorpicker
downgrade
i3lock-color
ksuperkey
light
networkmanager-dmenu-git
obmenu-generator
pamac-aur
perl-linux-desktopfiles
picom-ibhagwan-git
polybar

View File

@ -3,7 +3,7 @@ LABEL arch64
MENU LABEL Boot Archcraft (64bit, BIOS)
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 lsm=landlock,lockdown,yama,apparmor,bpf cow_spacesize=5G
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 cow_spacesize=5G
# Copy to RAM boot option
@ -11,11 +11,11 @@ LABEL arch64-ctr
MENU LABEL Boot Archcraft (Copy to RAM)
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 lsm=landlock,lockdown,yama,apparmor,bpf cow_spacesize=1G
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 cow_spacesize=1G
# Nvidia propritary (Non-Free)
LABEL arch64-nvidia
MENU LABEL Boot Archcraft (64bit, NVIDIA)
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 lsm=landlock,lockdown,yama,apparmor,bpf cow_spacesize=5G nouveau.modeset=0 modprobe.blacklist=nouveau nvidia i915.modeset=1 radeon.modeset=1
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 cow_spacesize=5G nouveau.modeset=0 modprobe.blacklist=nouveau nvidia i915.modeset=1 radeon.modeset=1