Commit 9dc326d3 authored by Andrew Mayorov's avatar Andrew Mayorov

Provide user scoped systemd target for an X session + add xbanish service

parent 43187bf3
[Unit]
Description=XBanish
PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/xbanish -i shift -i control -i mod1 -i mod4
Restart=always
RestartSec=5
[Install]
WantedBy=xsession.target
[Unit]
Description=Xsession running
BindsTo=graphical-session.target
Requires=graphical.target
systemctl --user import-environment PATH DBUS_SESSION_BUS_ADDRESS DISPLAY
systemctl --no-block --user start xsession.target
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment