put everything in wm.target
This commit is contained in:
parent
ab3ebdd18c
commit
6062bbab78
@ -2,8 +2,7 @@
|
|||||||
Description=Chromium
|
Description=Chromium
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=DISPLAY=:0
|
|
||||||
ExecStart=/usr/bin/chromium
|
ExecStart=/usr/bin/chromium
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=mystuff.target
|
WantedBy=wm.target
|
||||||
|
8
user/claws-mail.service
Normal file
8
user/claws-mail.service
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Claws Mail
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/claws-mail
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=wm.target
|
@ -2,8 +2,7 @@
|
|||||||
Description=Evolution
|
Description=Evolution
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=DISPLAY=:0
|
|
||||||
ExecStart=/usr/bin/copyq
|
ExecStart=/usr/bin/copyq
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=mystuff.target
|
WantedBy=wm.target
|
||||||
|
1
user/default.target.wants/btsync.service
Symbolic link
1
user/default.target.wants/btsync.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/btsync.service
|
1
user/default.target.wants/gpg-agent.service
Symbolic link
1
user/default.target.wants/gpg-agent.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/gpg-agent.service
|
@ -1,9 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Dropbox
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Environment=DISPLAY=:0
|
|
||||||
ExecStart=/usr/bin/dropboxd
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=mystuff.target
|
|
@ -1,10 +1,8 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=small notification daemon
|
Description=small notification daemon
|
||||||
After=dbus.socket
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=DISPLAY=:0
|
|
||||||
ExecStart=/usr/bin/dunst
|
ExecStart=/usr/bin/dunst
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=mystuff.target
|
WantedBy=wm.target
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Evolution
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Environment=DISPLAY=:0
|
|
||||||
ExecStart=/usr/bin/evolution
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=mystuff.target
|
|
@ -2,8 +2,7 @@
|
|||||||
Description=Gajim
|
Description=Gajim
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=DISPLAY=:0
|
|
||||||
ExecStart=/usr/bin/gajim
|
ExecStart=/usr/bin/gajim
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=mystuff.target
|
WantedBy=wm.target
|
||||||
|
10
user/gpg-agent.service
Normal file
10
user/gpg-agent.service
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=gpg-agent daemon
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
ExecStart=/usr/bin/gpg-agent --daemon
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
@ -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
|
|
@ -1,5 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Music Player Daemon
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/mpd --no-daemon
|
|
@ -1,6 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Xinitrc Stuff
|
|
||||||
#After=xorg.target
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
Alias=default.target
|
|
@ -1 +0,0 @@
|
|||||||
/home/joerg/.config/systemd/user/dropbox.service
|
|
@ -1 +0,0 @@
|
|||||||
/home/joerg/.config/systemd/user/evolution.service
|
|
@ -1 +0,0 @@
|
|||||||
/home/joerg/.config/systemd/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
|
|
@ -1,6 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Enable zapping
|
Description=Enable zapping
|
||||||
After=xorg.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
@ -8,4 +7,4 @@ RemainAfterExit=yes
|
|||||||
ExecStart=setxkbmap -option terminate:ctrl_alt_bksp
|
ExecStart=setxkbmap -option terminate:ctrl_alt_bksp
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=mystuff.target
|
WantedBy=wm.target
|
||||||
|
1
user/sockets.target.wants/pulseaudio.socket
Symbolic link
1
user/sockets.target.wants/pulseaudio.socket
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/pulseaudio.socket
|
@ -1,9 +1,3 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Window Manager
|
Description=Window Manager
|
||||||
Wants=xorg.target
|
|
||||||
Wants=mystuff.target
|
|
||||||
Requires=dbus.socket
|
|
||||||
AllowIsolate=true
|
AllowIsolate=true
|
||||||
|
|
||||||
[Install]
|
|
||||||
Alias=default.target
|
|
||||||
|
1
user/wm.target.wants/claws-mail.service
Symbolic link
1
user/wm.target.wants/claws-mail.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/claws-mail.service
|
1
user/wm.target.wants/xmodmap.service
Symbolic link
1
user/wm.target.wants/xmodmap.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/xmodmap.service
|
@ -1,6 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Capslock is escape
|
Description=Capslock is escape
|
||||||
After=xorg.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
@ -8,4 +7,4 @@ RemainAfterExit=yes
|
|||||||
ExecStart=xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
|
ExecStart=xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=mystuff.target
|
WantedBy=wm.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 +0,0 @@
|
|||||||
xorg@.socket
|
|
@ -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
|
|
@ -1,8 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Socket for xorg at display %i
|
|
||||||
|
|
||||||
[Socket]
|
|
||||||
ListenStream=/tmp/.X11-unix/X%i
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=xorg.target
|
|
@ -1,6 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Capslock is escape
|
Description=Capslock is escape
|
||||||
After=xorg.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
@ -8,4 +7,4 @@ RemainAfterExit=yes
|
|||||||
ExecStart=/usr/bin/xrdb -merge %h/.Xresources
|
ExecStart=/usr/bin/xrdb -merge %h/.Xresources
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=mystuff.target
|
WantedBy=wm.target
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Xorg Blanking
|
Description=Xorg Blanking
|
||||||
After=xorg.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
@ -8,4 +7,4 @@ RemainAfterExit=yes
|
|||||||
ExecStart=/usr/bin/xset -b +dpms 0 0 300
|
ExecStart=/usr/bin/xset -b +dpms 0 0 300
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=mystuff.target
|
WantedBy=wm.target
|
||||||
|
Loading…
Reference in New Issue
Block a user