Dropbox in sway
-
Set up Dropbox
Install and authenticate dropbox as per ???. Then stop it on the command line and install a systemd user service.
mkdir ~/.config/systemd/user/
cp ~/Dropbox/Basic/new_machine/linux/config/dropbox.service ~/.config/systemd/user
Note
droybox.service
[Unit] After=local-fs.target network.target Description=Dropbox as a user service [Service] Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus Environment=DISPLAY=:0 ExecStart=%h/.dropbox-dist/dropboxd Restart=on-failure RestartSec=1 Type=simple [Install] WantedBy=default.target
Source: archlinux forum.
-
automate it
-
systemctl --user start dropbox.service
If it works:systemctl --user enable dropbox.service