Skip to content

Commit

Permalink
Update systemd x11 unit files to depend on graphical-session target
Browse files Browse the repository at this point in the history
  • Loading branch information
creichert committed Nov 11, 2018
1 parent 2cd142e commit 28151d8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions systemd/.config/systemd/user/unclutter.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[Unit]
Description=Unclutter
PartOf=graphical-session.target
[Service]
ExecStart=/usr/bin/unclutter -idle 2 -noevents
Restart=always
[Install]
WantedBy=default.target
1 change: 1 addition & 0 deletions systemd/.config/systemd/user/xflux.service
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[Unit]
Description=XFlux
PartOf=graphical-session.target
[Service]
Type=forking
ExecStart=/home/christopher/bin/xflux -z 77006
Expand Down
2 changes: 2 additions & 0 deletions systemd/.config/systemd/user/xscreensaver.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[Unit]
Description=XScreenSaver
PartOf=graphical-session.target
[Service]
ExecStart=/usr/bin/xscreensaver -no-capture-stderr
Restart=always
[Install]
WantedBy=default.target
1 change: 1 addition & 0 deletions xmonad/.xmonad/xmonad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ main = do
, className =? "Chromium" --> doF (W.shift "8")
, className =? "Spotify" --> doF (W.shift "9")
, title =? "Save File" --> doCenterFloat
, title =? "Open File" --> doCenterFloat
, manageDocks
, manageHook def
]
Expand Down

0 comments on commit 28151d8

Please sign in to comment.