THIS ARTICLE IS OBSOLETE AND IN THE FUTURE WILL UPDATE FOR VOID LINUX
Sway is an i3-compatible Wayland compositor. Actually, sway includes all of i3’s features but in Wayland. Wayland is a display server protocol like x11, but more it’s secure and faster.
Run this command to install wayland and sway in your arch machine:
sudo pacman -S wayland sway
Now you have wayland and sway, but still, you need to install other dep endencies! This rice depended on some apps and tools like:
- i3status-rs: bar
- rofi: appliction launcher
- kitty: terminal
- firefox: browser
- azote: wallpaper manger
- wl-clipboard: cli copy/paste
- clipman: clipboard manger
- slurp: region selection
- grim: screenshot tools
- sway-systemd: Systemd integration
Installing some of these apps and tools is a bit painful! A few of these packages are not in Arch repositories, but you can install these from aur or source.
sudo pacman -S rofi kitty firefox clipman slurp grim
paru -S azote wl-clipboard sway-systemd
Now everything is Ok, and you can go to the next step.
For configuration of sway, just copy .config/sway
directory into your $HOME
:
cp -rv .config/sway ~/.config/sway
If you want to use i3status-rs, copy .config/i3status-rs
directory into your $HOME
:
cp -rv .config/sway ~/.config/sway
If you want to run sway, you can use a DM or run below command on the TTY
:
XDG_SESSION_TYPE=wayland dbus-run-session sway
Enjoye it!