introduce a hook for bspwm
This commit is contained in:
parent
60c5447e74
commit
a29fc304ce
|
@ -0,0 +1,10 @@
|
||||||
|
[Trigger]
|
||||||
|
Operation=Install
|
||||||
|
Operation=Upgrade
|
||||||
|
Type=Package
|
||||||
|
Target=bspwm
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description=Overwrite package manager's bspwm.desktop file with user provided desktop file
|
||||||
|
When=PostTransaction
|
||||||
|
Exec=/bin/cp /home/pratham/my-git-repos/dotfiles/_OTHER/flameboi/usr/share/xsessions/bspwm.desktop /usr/share/xsessions/bspwm.desktop
|
|
@ -210,9 +210,8 @@ genfstab -U /mnt >> /mnt/etc/fstab
|
||||||
|
|
||||||
# chroot setup
|
# chroot setup
|
||||||
mkdir -p /mnt/chroot-scripts
|
mkdir -p /mnt/chroot-scripts
|
||||||
cp scripts/chroot-setup.sh /mnt/chroot-scripts/
|
cp scripts/{chroot-setup,doas-pratham}.sh /mnt/chroot-scripts/
|
||||||
cp nvidia.hook /mnt/chroot-scripts/
|
cp {nvidia,bspwm}.hook /mnt/chroot-scripts/
|
||||||
cp scripts/doas-pratham.sh /mnt/chroot-scripts/
|
|
||||||
arch-chroot /mnt bash /chroot-scripts/chroot-setup.sh "$CPU_VENDOR_NAME" "$ROOT_PARTITION"
|
arch-chroot /mnt bash /chroot-scripts/chroot-setup.sh "$CPU_VENDOR_NAME" "$ROOT_PARTITION"
|
||||||
rm -rf /mnt/chroot-scripts
|
rm -rf /mnt/chroot-scripts
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue