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

pkg install -y wayland seatd sway swayidle swaylock-effects foot fuzzel

# add XDG RUNTIME to .profile
echo "export XDG_RUNTIME_DIR=/var/run/user/`id -u`" >> /root/.profile

sysrc seatd_enable="YES"
service seatd start


# from https://xyinn.org/md/freebsd/framework_laptop_11th_gen
# for gestures, add this to the sway.conf

# input type:touchpad {
#        dwt enabled
#        tap enabled
#        middle_emulation enable
#        tap_button_map lrm
#        scroll_method two_finger
# }