forked from colonelpanic/dotfiles
[Linux] Use wm.target for starting graphical apps
This commit is contained in:
@@ -7,4 +7,4 @@ ExecStart=/usr/bin/copyq
|
||||
ExecStop=/usr/bin/pkill copyq
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
||||
WantedBy=wm.target
|
||||
|
@@ -3,8 +3,9 @@ Description=KeePassX
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/zsh -c "start_keepass.sh"
|
||||
ExecStart=/usr/bin/zsh -c 'keepassx --keyfile "$HOME/SparkleShare/config/creds/keepass.key" "$HOME/SparkleShare/config/db.kdbx" &'
|
||||
ExecStop=/usr/bin/pkill keepassx
|
||||
RemainAfterExit=true
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
||||
WantedBy=wm.target
|
||||
|
@@ -7,4 +7,4 @@ ExecStart=/usr/bin/nm-applet --sm-disable
|
||||
ExecStop=/usr/bin/pkill nm-applet
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
||||
WantedBy=wm.target
|
||||
|
@@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=ScreenCloud
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
@@ -7,4 +8,4 @@ ExecStart=/usr/bin/screencloud
|
||||
ExecStop=/usr/bin/pkill screencloud
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
||||
WantedBy=wm.target
|
||||
|
@@ -7,4 +7,4 @@ ExecStop=/usr/bin/sparkleshare stop
|
||||
Type=forking
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
||||
WantedBy=wm.target
|
||||
|
@@ -6,4 +6,4 @@ ExecStart=/usr/bin/udiskie --tray
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
WantedBy=wm.target
|
||||
|
3
dotfiles/config/systemd/user/wm.target
Normal file
3
dotfiles/config/systemd/user/wm.target
Normal file
@@ -0,0 +1,3 @@
|
||||
[Unit]
|
||||
Description=Window Manager
|
||||
AllowIsolate=yes
|
9
dotfiles/config/systemd/user/xsettingsd.service
Normal file
9
dotfiles/config/systemd/user/xsettingsd.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=X Settings Daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/xsettingsd
|
||||
ExecStop=/usr/bin/pkill xsettingsd
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
Reference in New Issue
Block a user