File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -157,3 +157,9 @@ install(
157
157
DESTINATION ${CMAKE_INSTALL_DATADIR} /icons/hicolor/scalable/apps
158
158
RENAME org.quickshell.svg
159
159
)
160
+
161
+ configure_file (assets/quickshell.service.in quickshell.service )
162
+ install (
163
+ FILES ${CMAKE_BINARY_DIR} /quickshell.service
164
+ DESTINATION lib/systemd/user
165
+ )
Original file line number Diff line number Diff line change
1
+ [Unit]
2
+ Description=QtQuick-based Desktop Shell Toolkit
3
+ PartOf=graphical-session.target
4
+ Requisite=graphical-session.target
5
+ After=graphical-session.target
6
+
7
+ [Service]
8
+ ExecStart=@CMAKE_INSTALL_BINDIR@/quickshell
9
+ Slice=session.slice
10
+ Restart=on-failure
Original file line number Diff line number Diff line change 116
116
dontUnpack = true ;
117
117
dontConfigure = true ;
118
118
dontBuild = true ;
119
+ dontMoveSystemdUserUnits = true ;
119
120
120
121
installPhase = ''
121
- mkdir -p $out
122
- cp -r ${ unwrapped } /* $out
122
+ cp -r ${ unwrapped } $out
123
+ substituteInPlace $out/lib/systemd/user/quickshell.service \
124
+ --replace-fail ${ unwrapped } $out
123
125
'' ;
124
126
125
127
passthru = {
You can’t perform that action at this time.
0 commit comments