Merge branch 'arch' into gentoo

This commit is contained in:
ItsDrike 2021-07-14 14:32:30 +02:00
commit 992148a859
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
8 changed files with 53 additions and 37 deletions

View file

@ -6,7 +6,7 @@ if [ "$EUID" -ne 0 ]; then
fi
# Make sure the partition is mounted according to fstab
mount /mnt/arch
mount /mnt/arch 2> /dev/null
# Mount necessary directories for chroot to be possible
mount --types proc /proc /mnt/arch/proc
@ -15,8 +15,8 @@ mount --make-rslave /mnt/arch/sys
mount --rbind /dev /mnt/arch/dev
mount --make-rslave /mnt/arch/dev
# Chroot with bash shell
chroot /mnt/arch /bin/bash
# Chroot with zsh shell
chroot /mnt/arch /bin/zsh --login
# Unmount recursively mounted directories
umount -l /mnt/arch/dev{/shm,/pts,}

View file

@ -10,8 +10,8 @@ mount --make-rslave /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
mount --make-rslave /mnt/gentoo/dev
# Chroot with bash shell
chroot /mnt/gentoo /bin/bash
# Chroot with zsh shell
chroot /mnt/gentoo /bin/zsh --login
# Unmount recursively mounted directories
umount -l /mnt/gentoo/dev{/shm,/pts,}

View file

@ -0,0 +1,12 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=xmonad
Comment=A lightweight window manager
Exec=/etc/X11/Sessions/xmonad
TryExec=xmonad
Icon=
X-GNOME-WMName=Xmonad
X-GNOME-Autostart-Phase=WindowManager
X-GNOME-Provides=windowmanager
X-GNOME-Autostart-Notify=false