summaryrefslogtreecommitdiff
path: root/root_scripts/wayland_config.sh
blob: 4b144b5fec6737a8807a2611349434f7b82755f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# Craig Jennings <c@cjennings.net>

pkg install -y wayland          # core wayland window system code and protocol
pkg install -y seatd            # seat management daemon and universal library required by wayland
pkg install -y sway             # i3-comptatible wayland compositor
pkg install -y swayidle         # idle management daemon for wayland
pkg install -y swaylock-effects # screen locker for wayland with fancy effects
pkg install -y foot             # wayland terminal emulator
pkg install -y fuzzel           # application launcher for wayland compositors
pkg install -y wtype            # programmatically simulate keyboard input on wayland

# add XDG RUNTIME to .profile
echo "export XDG_RUNTIME_DIR=/tmp" >> /root/.profile

# seatd mediates access to shared devices (wayland requirement) 
sysrc seatd_enable="YES"
service seatd start