diff --git a/Makefile b/Makefile index bb3fc31..8d946d8 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ DIST := trixie INFO := debian13 NAME := live_$(DIST) SESH := qemu:///session -PKGS := base +PKGS := base sway STOW := base MACH := q35 VCPU := 2 @@ -21,8 +21,8 @@ init: lb config --distribution $(DIST) --debian-installer live configure: - stow -t ./builds/$(DIST) -D $(PKGS) - stow -t ./builds/$(DIST) $(STOW) + stow -v -t ./builds/$(DIST) -D $(PKGS) + stow -v -t ./builds/$(DIST) $(STOW) build: cd builds/$(DIST) && \ @@ -42,7 +42,7 @@ install: --cdrom "$(ISO)" \ --disk none \ --network "$(NET)" \ - --graphics spice,listen=127.0.0.1 \ + --graphics spice,listen=127.0.0.1,image.compression=off \ --video virtio \ --noautoconsole diff --git a/sway/config/includes.chroot/etc/skel/.bash_profile b/sway/config/includes.chroot/etc/skel/.bash_profile new file mode 100644 index 0000000..feb0d2c --- /dev/null +++ b/sway/config/includes.chroot/etc/skel/.bash_profile @@ -0,0 +1,6 @@ +# shellcheck shell=bash + +if [ "$(tty)" = "/dev/tty1" ]; then + export WLR_RENDERER_ALLOW_SOFTWARE=1 + exec sway +fi diff --git a/sway/config/includes.chroot/etc/skel/.config/sway/config b/sway/config/includes.chroot/etc/skel/.config/sway/config new file mode 100644 index 0000000..42c3b0d --- /dev/null +++ b/sway/config/includes.chroot/etc/skel/.config/sway/config @@ -0,0 +1,2 @@ +set $term kitty +exec kitty diff --git a/sway/config/package-lists/sway.list.chroot b/sway/config/package-lists/sway.list.chroot new file mode 100644 index 0000000..12fa9a3 --- /dev/null +++ b/sway/config/package-lists/sway.list.chroot @@ -0,0 +1,2 @@ +sway +kitty