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

pkg install -y foot             # wayland terminal emulator
pkg install -y fuzzel           # application launcher for wayland compositors
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 wayland          # core wayland window system code and protocol
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