aboutsummaryrefslogtreecommitdiff
path: root/sway-de/xdg-names/.local/share/systemd/user/xdg-names.service
blob: 799431be97e83650fd15bd1a4b666871823f4b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Rename Sway workspaces based on XDG metadata
PartOf=sway-session.target

[Service]
Type=simple
ExecStart=%h/.local/bin/xdg-names.py --debug
ExecStop=/bin/kill -2 $MAINPID
Restart=on-failure
RestartSec=1
TimeoutStopSec=10

[Install]
WantedBy=sway-session.target