Browse Source

put everything in wm.target

master
Jörg Thalheim 6 years ago
parent
commit
6062bbab78
  1. 3
      user/chromium.service
  2. 8
      user/claws-mail.service
  3. 3
      user/copyq.service
  4. 1
      user/default.target.wants/btsync.service
  5. 1
      user/default.target.wants/gpg-agent.service
  6. 9
      user/dropbox.service
  7. 4
      user/dunst.service
  8. 9
      user/evolution.service
  9. 3
      user/gajim.service
  10. 10
      user/gpg-agent.service
  11. 11
      user/i3.service
  12. 5
      user/mpd.service
  13. 6
      user/mystuff.target
  14. 1
      user/mystuff.target.wants/dropbox.service
  15. 1
      user/mystuff.target.wants/evolution.service
  16. 1
      user/mystuff.target.wants/pulseaudio.service
  17. 10
      user/pulseaudio.service
  18. 3
      user/setxkbmap.service
  19. 1
      user/sockets.target.wants/pulseaudio.socket
  20. 6
      user/wm.target
  21. 0
      user/wm.target.wants/chromium.service
  22. 1
      user/wm.target.wants/claws-mail.service
  23. 0
      user/wm.target.wants/copyq.service
  24. 0
      user/wm.target.wants/dunst.service
  25. 0
      user/wm.target.wants/gajim.service
  26. 0
      user/wm.target.wants/setxkbmap.service
  27. 1
      user/wm.target.wants/xmodmap.service
  28. 0
      user/wm.target.wants/xrdb.service
  29. 0
      user/wm.target.wants/xset.service
  30. 3
      user/xmodmap.service
  31. 10
      user/xorg.target
  32. 1
      user/xorg.target.wants/xorg@0.socket
  33. 11
      user/xorg@.service
  34. 8
      user/xorg@.socket
  35. 3
      user/xrdb.service
  36. 3
      user/xset.service

3
user/chromium.service

@ -2,8 +2,7 @@
Description=Chromium
[Service]
Environment=DISPLAY=:0
ExecStart=/usr/bin/chromium
[Install]
WantedBy=mystuff.target
WantedBy=wm.target

8
user/claws-mail.service

@ -0,0 +1,8 @@
[Unit]
Description=Claws Mail
[Service]
ExecStart=/usr/bin/claws-mail
[Install]
WantedBy=wm.target

3
user/copyq.service

@ -2,8 +2,7 @@
Description=Evolution
[Service]
Environment=DISPLAY=:0
ExecStart=/usr/bin/copyq
[Install]
WantedBy=mystuff.target
WantedBy=wm.target

1
user/default.target.wants/btsync.service

@ -0,0 +1 @@
/usr/lib/systemd/user/btsync.service

1
user/default.target.wants/gpg-agent.service

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/gpg-agent.service

9
user/dropbox.service

@ -1,9 +0,0 @@
[Unit]
Description=Dropbox
[Service]
Environment=DISPLAY=:0
ExecStart=/usr/bin/dropboxd
[Install]
WantedBy=mystuff.target

4
user/dunst.service

@ -1,10 +1,8 @@
[Unit]
Description=small notification daemon
After=dbus.socket
[Service]
Environment=DISPLAY=:0
ExecStart=/usr/bin/dunst
[Install]
WantedBy=mystuff.target
WantedBy=wm.target

9
user/evolution.service

@ -1,9 +0,0 @@
[Unit]
Description=Evolution
[Service]
Environment=DISPLAY=:0
ExecStart=/usr/bin/evolution
[Install]
WantedBy=mystuff.target

3
user/gajim.service

@ -2,8 +2,7 @@
Description=Gajim
[Service]
Environment=DISPLAY=:0
ExecStart=/usr/bin/gajim
[Install]
WantedBy=mystuff.target
WantedBy=wm.target

10
user/gpg-agent.service

@ -0,0 +1,10 @@
[Unit]
Description=gpg-agent daemon
[Service]
Type=forking
ExecStart=/usr/bin/gpg-agent --daemon
Restart=always
[Install]
WantedBy=default.target

11
user/i3.service

@ -1,11 +0,0 @@
[Unit]
Description=An improved dynamic tiling window manager
After=xorg.target
[Service]
Environment=DISPLAY=:0
ExecStart=/usr/bin/i3
Restart=on-failure
[Install]
WantedBy=wm.target

5
user/mpd.service

@ -1,5 +0,0 @@
[Unit]
Description=Music Player Daemon
[Service]
ExecStart=/usr/bin/mpd --no-daemon

6
user/mystuff.target

@ -1,6 +0,0 @@
[Unit]
Description=Xinitrc Stuff
#After=xorg.target
[Install]
Alias=default.target

1
user/mystuff.target.wants/dropbox.service

@ -1 +0,0 @@
/home/joerg/.config/systemd/user/dropbox.service

1
user/mystuff.target.wants/evolution.service

@ -1 +0,0 @@
/home/joerg/.config/systemd/user/evolution.service

1
user/mystuff.target.wants/pulseaudio.service

@ -1 +0,0 @@
/home/joerg/.config/systemd/user/pulseaudio.service

10
user/pulseaudio.service

@ -1,10 +0,0 @@
[Unit]
Description=PulseAudio Sound System
[Service]
BusName=org.pulseaudio.Server
ExecStart=/usr/bin/pulseaudio
Restart=on-failure
[Install]
WantedBy=mystuff.target

3
user/setxkbmap.service

@ -1,6 +1,5 @@
[Unit]
Description=Enable zapping
After=xorg.target
[Service]
Type=oneshot
@ -8,4 +7,4 @@ RemainAfterExit=yes
ExecStart=setxkbmap -option terminate:ctrl_alt_bksp
[Install]
WantedBy=mystuff.target
WantedBy=wm.target

1
user/sockets.target.wants/pulseaudio.socket

@ -0,0 +1 @@
/usr/lib/systemd/user/pulseaudio.socket

6
user/wm.target

@ -1,9 +1,3 @@
[Unit]
Description=Window Manager
Wants=xorg.target
Wants=mystuff.target
Requires=dbus.socket
AllowIsolate=true
[Install]
Alias=default.target

0
user/mystuff.target.wants/chromium.service → user/wm.target.wants/chromium.service

1
user/wm.target.wants/claws-mail.service

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/claws-mail.service

0
user/mystuff.target.wants/copyq.service → user/wm.target.wants/copyq.service

0
user/mystuff.target.wants/dunst.service → user/wm.target.wants/dunst.service

0
user/mystuff.target.wants/gajim.service → user/wm.target.wants/gajim.service

0
user/mystuff.target.wants/setxkbmap.service → user/wm.target.wants/setxkbmap.service

1
user/wm.target.wants/xmodmap.service

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/xmodmap.service

0
user/mystuff.target.wants/xrdb.service → user/wm.target.wants/xrdb.service

0
user/mystuff.target.wants/xset.service → user/wm.target.wants/xset.service

3
user/xmodmap.service

@ -1,6 +1,5 @@
[Unit]
Description=Capslock is escape
After=xorg.target
[Service]
Type=oneshot
@ -8,4 +7,4 @@ RemainAfterExit=yes
ExecStart=xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
[Install]
WantedBy=mystuff.target
WantedBy=wm.target

10
user/xorg.target

@ -1,10 +0,0 @@
#
# X server target
#
# xorg.target is a virtual target - it becomes active as soon as Xorg
# is ready to accept incoming connections. If your service requires
# Xorg to be ready, include 'After=xorg.target' in your service file.
[Unit]
Description=The basic Xorg server

1
user/xorg.target.wants/xorg@0.socket

@ -1 +0,0 @@
xorg@.socket

11
user/xorg@.service

@ -1,11 +0,0 @@
[Unit]
Description=Xorg server at display %i
Requires=xorg@%i.socket
After=xorg@%i.socket
[Service]
Type=simple
SuccessExitStatus=0 1
ExecStart=/usr/bin/Xorg :%i -nolisten tcp -noreset -verbose 2 vt1

8
user/xorg@.socket

@ -1,8 +0,0 @@
[Unit]
Description=Socket for xorg at display %i
[Socket]
ListenStream=/tmp/.X11-unix/X%i
[Install]
WantedBy=xorg.target

3
user/xrdb.service

@ -1,6 +1,5 @@
[Unit]
Description=Capslock is escape
After=xorg.target
[Service]
Type=oneshot
@ -8,4 +7,4 @@ RemainAfterExit=yes
ExecStart=/usr/bin/xrdb -merge %h/.Xresources
[Install]
WantedBy=mystuff.target
WantedBy=wm.target

3
user/xset.service

@ -1,6 +1,5 @@
[Unit]
Description=Xorg Blanking
After=xorg.target
[Service]
Type=oneshot
@ -8,4 +7,4 @@ RemainAfterExit=yes
ExecStart=/usr/bin/xset -b +dpms 0 0 300
[Install]
WantedBy=mystuff.target
WantedBy=wm.target
Loading…
Cancel
Save