Browse Source

Modular Install script

main
Yiğit Çolakoğlu 4 years ago
parent
commit
1ed5a6f920
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      arch-setup/arch-setup.sh
  2. +1
    -1
      suckless/dwm/config.h

+ 2
- 2
arch-setup/arch-setup.sh View File

@ -90,7 +90,7 @@ if [ "$home_s" = "y" ]; then
chmod 600 /root/.keys/home-keyfile
echo $home_pass | cryptsetup luksAddKey "$home" /root/.keys/home-keyfile
echo "[INFO]: Keyfile saved to /root/.keys/home-keyfile"
cryptsetup open --key-file="/root/.keys/home-keyfile" "$home" root
cryptsetup open --key-file="/root/.keys/home-keyfile" "$home" home
mkfs.ext4 /dev/mapper/home
mkdir /mnt/sys/home
mount "/dev/mapper/home" /mnt/sys/home
@ -119,4 +119,4 @@ else
fi
pacman -Sy --noconfirm tmux
tmux new-session -s "arch-setup" 'arch-chroot /install/chroot.sh'
tmux new-session -s "arch-setup" 'arch-chroot /mnt/sys /install/chroot.sh'

+ 1
- 1
suckless/dwm/config.h View File

@ -8,7 +8,7 @@ static const unsigned int systrayspacing = 2; /* systray spacing */
static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
static int showsystray = 1; /* 0 means no systray */
static const int tag_padding = 0;
static const char *layoutmenu_cmd = "/home/yigit/.scripts/layoutmenu.sh";
static const char *layoutmenu_cmd = "/home/yigit/.local/share/bin/layoutmenu.sh";
static const char autostartblocksh[] = "autostart_blocking.sh";
static const char autostartsh[] = "autostart.sh";
static const char dwmdir[] = "dwm";


Loading…
Cancel
Save