Skip to content

Instantly share code, notes, and snippets.

@cole-h
Created May 4, 2020 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cole-h/427d87f792300d4921aad680d6c10950 to your computer and use it in GitHub Desktop.
Save cole-h/427d87f792300d4921aad680d6c10950 to your computer and use it in GitHub Desktop.
# /nix/store/ifxhkx5wl9734f8w1x0kfp9f218hxx07-home-manager-files/.config/systemd/user/sway.service
[Service]
Environment=LD_LIBRARY_PATH=/nix/store/z459mah80w35zkxdsxigkwf9cb672r5v-mesa-20.0.2-drivers/lib LIBGL_DRIVERS_PATH=/nix/store/z459mah80w35zkxdsxigkwf9cb672r5v-mesa-20.0.2-drivers/lib/dri SSH_AUTH_SOCK=%t/gnupg/S.gpg-agent.ssh
ExecStart=/nix/store/8ln1xnkyfmj0dn8gss9412yd8idgn31d-sway-4492e493e62d51e6cd3340af622eef934f1c88cd/bin/sway
ExecStop=/nix/store/8ln1xnkyfmj0dn8gss9412yd8idgn31d-sway-4492e493e62d51e6cd3340af622eef934f1c88cd/bin/swaymsg exit
Restart=on-failure
RestartSec=1
TimeoutStopSec=10
Type=simple
[Unit]
After=graphical-session-pre.target
BindsTo=graphical-session.target
Description=sway
Documentation=man:sway(5)
Wants=graphical-session-pre.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment