1.2 KiB
1.2 KiB
creation date | tags | ||||
---|---|---|---|---|---|
2022-02-06 |
|
Sway is a replacement for KB/Linux/Desktop/i3 but for Wayland.
Install
Install sway or related system packages
mako
grimshot
grim
sway
swaybg
swaylock
swayidle
slurp
ttf-font-awesome
waybar-git # or waybar although longer no release
wdisplays
wev
wlr-randr
wf-recorder
rofi-lbronn-wayland
xdg-desktop-portal-wlr # used for [1], keep other portal-* packages
Install packages used as replacement from popular DE:
simplescreenrecorder-wlroots-git
redshift-wayland-git
thunar
thunar-volman
thunar-archive-plugin
thunar-media-tags-plugin
tumbler
ffmpegthumbnailer
gvfs
xarchiver
viewnior
gnome-keyring
seahorse
nm-applet
gparted
Automatic start
- Edit
~/.zprofile
and replacestartx
withexec sway
if needed - Ensure you have
getty@tty1
enabled
Config
# ~/.config/electron-flags.conf
--enable-features=UseOzonePlatform
--ozone-platform=wayland
# ~/.zshenv
export _JAVA_AWT_WM_NONREPARENTING=1
export MOZ_ENABLE_WAYLAND=1
export XDG_CURRENT_DESKTOP=sway
Inside Chromium based browsers enable the following under chrome://flags
WebRTC PipeWire support