Skip to content

Latest commit

 

History

History

sway

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

SwayWM

About install and run SwayWM in Arch Linux

../../screenshots/sway.jpeg

THIS ARTICLE IS OBSOLETE AND IN THE FUTURE WILL UPDATE FOR VOID LINUX

Introduction

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.

Installing

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:

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.

Installing from Arch repo:

sudo pacman -S rofi kitty firefox clipman slurp grim

Installing others via paru:

paru -S azote wl-clipboard sway-systemd

Now everything is Ok, and you can go to the next step.

Configuration:

For configuration of sway, just copy .config/sway directory into your $HOME:

cp -rv .config/sway ~/.config/sway

i3status-rs

If you want to use i3status-rs, copy .config/i3status-rs directory into your $HOME:

cp -rv .config/sway ~/.config/sway

Run:

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!