103 lines
1.8 KiB
Plaintext
103 lines
1.8 KiB
Plaintext
# Fedora 42 Lightweight Workstation Live ISO
|
|
# Minimal GUI with Sway (Wayland)
|
|
|
|
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-42&arch=x86_64
|
|
|
|
lang en_US.UTF-8
|
|
keyboard us
|
|
timezone UTC --utc
|
|
|
|
rootpw --plaintext changeme
|
|
user --name=user --groups=wheel --plaintext --password=user
|
|
|
|
network --bootproto=dhcp --device=link --activate --onboot=yes
|
|
|
|
bootloader --location=mbr --timeout=5
|
|
|
|
clearpart --all --initlabel
|
|
autopart --type=plain
|
|
|
|
%packages --excludedocs
|
|
@core
|
|
kernel
|
|
systemd
|
|
NetworkManager
|
|
sway
|
|
swaylock
|
|
swayidle
|
|
swaybg
|
|
waybar
|
|
foot
|
|
wofi
|
|
vim
|
|
htop
|
|
git
|
|
curl
|
|
wget
|
|
dejavu-sans-fonts
|
|
dejavu-sans-mono-fonts
|
|
google-noto-emoji-fonts
|
|
pipewire
|
|
pipewire-pulseaudio
|
|
wireplumber
|
|
thunar
|
|
firefox
|
|
-plymouth*
|
|
-abrt*
|
|
-sssd*
|
|
%end
|
|
|
|
%post --erroronfail
|
|
systemctl enable NetworkManager
|
|
|
|
mkdir -p /home/user/.config/sway
|
|
cat > /home/user/.config/sway/config << 'SEOF'
|
|
set $mod Mod4
|
|
set $term foot
|
|
set $menu wofi --show drun
|
|
|
|
bindsym $mod+Return exec $term
|
|
bindsym $mod+d exec $menu
|
|
bindsym $mod+Shift+q kill
|
|
bindsym $mod+Shift+e exit
|
|
|
|
floating_modifier $mod normal
|
|
bindsym $mod+Shift+c reload
|
|
|
|
bindsym $mod+Left focus left
|
|
bindsym $mod+Down focus down
|
|
bindsym $mod+Up focus up
|
|
bindsym $mod+Right focus right
|
|
|
|
bindsym $mod+Shift+Left move left
|
|
bindsym $mod+Shift+Down move down
|
|
bindsym $mod+Shift+Up move up
|
|
bindsym $mod+Shift+Right move right
|
|
|
|
bindsym $mod+1 workspace 1
|
|
bindsym $mod+2 workspace 2
|
|
bindsym $mod+3 workspace 3
|
|
bindsym $mod+Shift+1 move container to workspace 1
|
|
bindsym $mod+Shift+2 move container to workspace 2
|
|
bindsym $mod+Shift+3 move container to workspace 3
|
|
|
|
bar {
|
|
position top
|
|
status_command waybar
|
|
}
|
|
|
|
include /etc/sway/config.d/*
|
|
SEOF
|
|
chown -R user:user /home/user/.config
|
|
|
|
cat >> /home/user/.bash_profile << 'BEOF'
|
|
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
|
exec sway
|
|
fi
|
|
BEOF
|
|
|
|
dnf clean all
|
|
%end
|
|
|
|
reboot
|