Pony of Shadows

Queen of Truth & King of Practice


Wayland

Tips

  • Ctrl+Alt+F1~F6 to swift among tty1 to tty6.

graphic driver

  • for AMD, install mesa and lib32-mesa.
  • for NVIDIA, install nvidia.

install

sudo pacman -S wayland sway swaylock swayidle swaybg
# to run softwares depend on X server
sudo pacman -S xwayland
# some necessery packages for desktop softwares to run normally
sudo pacman -S xdg-desktop-portal xdg-desktop-portal-wlr
# dependencies of /usr/share/sway/scripts/grimshot
sudo pacman -S grim wl-clipboard
# A brightness adjustment tool with good compatibility
sudo pacman -S brightnessctl 
# better bar
sudo pacman -S waybar otf-font-awesome

run in tty

sway --unsupported-gpu

automatically on TTY login

  • This blog is useful when writting shell startup scripts.

configuration of sway

  1. copy /etc/sway to $XDG_CONFIG_HOME/
  2. make custom configuration in $XDG_CONFIG_HOME/sway/config.

my own config

see this repository