Skip to content

Instantly share code, notes, and snippets.

@spvkgn
Created May 2, 2018 09:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spvkgn/92a54c12772c5b7e42f941e4c12713f4 to your computer and use it in GitHub Desktop.
Save spvkgn/92a54c12772c5b7e42f941e4c12713f4 to your computer and use it in GitHub Desktop.
systemd user units
[Unit]
Description=Compton X11 compositor
After=graphical.target
[Service]
Type=forking
Restart=always
RestartSec=10
ExecStart=/usr/bin/compton -b
ExecReload=/bin/kill -SIGUSR1 $MAINPID
[Install]
WantedBy=default.target
[Unit]
Description=In-place conversion of text typed in with a wrong keyboard layout when users work in multilingual environment.
After=graphical.target
[Service]
Type=simple
Restart=always
RestartSec=10
ExecStart=/usr/bin/xneur
[Install]
WantedBy=default.target
@spvkgn
Copy link
Author

spvkgn commented May 2, 2018

put in ~/.config/systemd/user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment