to get the cli on a new system run
curl -L https://github.com/nanvenomous/InstallArch/releases/latest/download/InstallArch > InstallArch
chmod +x InstallArchscreen rotation
yay -S rot8Create a config file at ~/.config/rot8/rot8.toml:
[laptop]
display = "eDP-1"
touchscreen = "eDP-1"
threshold = 0.5then rot8 &
sudo pacman -S sway swaylock swayidle swaybg
sudo pacman -S waybar # Status bar (alternative to i3status/i3bar) sudo pacman -S grim slurp # Screenshots (alternative to maim/scrot) sudo pacman -S wl-clipboard # Clipboard (alternative to xclip/xsel) sudo pacman -S wofi # App launcher (alternative to dmenu/rofi)
sudo pacman -S xorg-xwayland # Run X11 apps on Wayland sudo pacman -S polkit-kde-agent # For authentication dialogs Copy your i3 config mkdir -p ~/.config/sway cp ~/.config/i3/config ~/.config/sway/config Edit the Sway config Open ~/.config/sway/config and make these minimal changes:
sudo pacman -S xdg-desktop-portal xdg-desktop-portal-wlr # screen share
systemctl --user start xdg-desktop-portal.service
systemctl --user enable xdg-desktop-portal.service
systemctl --user start xdg-desktop-portal-wlr.service
systemctl --user enable xdg-desktop-portal-wlr.service