Commit graph

235 commits

Author SHA1 Message Date
Ashley Wulber
12bd4302c9
Merge branch 'master' into applet-host 2022-07-20 13:10:49 -04:00
Ian Douglas Scott
c450a9ed0d
Connect to systemd over session DBus rather than system (#2)
This seems to be correct for starting user services.
2022-07-20 11:05:19 -04:00
Ian Douglas Scott
cefd13692b
Don't leak fds, and don't unset cloexec except/until needed (#3)
This may still leak fds in some error cases. That can be solved by using
`OwnedFd` when the next Rust stable releases.
2022-07-20 11:05:01 -04:00
Ashley Wulber
b2dc23f4f8
Merge branch 'master' into applet-host 2022-07-15 13:44:38 -04:00
Ashley Wulber
41cdc48105
wip: applet host 2022-07-15 12:52:23 -04:00
Lucy
b614753cff
🩹 I genuinely forgot this was async. (Uses non-blocking systemd manager proxy) 2022-07-15 11:06:29 -04:00
Lucy
8fc34b75b4
Always stop cosmic-session.target when the process exits/panics 2022-07-15 11:05:23 -04:00
Lucy
9bc295b2ad
♻️ Use the systemd_client crate to start cosmic-session.target 2022-07-15 10:58:28 -04:00
Lucy
b33efc83df
🩹 Don't nest user dbus sessions 2022-07-13 12:04:48 -04:00
Lucy
378f137d0a
Exit on compositor exit 2022-07-12 15:57:10 -04:00
Lucy
bc07650f01
Add start-cosmic script; cosmic-session.target 2022-07-12 11:55:53 -04:00
Lucy
7be35d6153
🔊 Log to journald 2022-07-11 11:25:34 -04:00
Lucy
07c811ba97
Wait for SetEnv 2022-07-11 10:47:00 -04:00
Lucy
de3ab99743
🩹 Fix debbuild; session .desktop file 2022-07-07 17:15:03 -04:00
Lucy
b07df79e4c
🩹 Don't run cosmic-app-library in the session 2022-07-07 16:47:05 -04:00
Lucy
a67a677a1a
📦 ♻️ Refactor a bunch of stuff; debian packaging 2022-07-07 16:45:17 -04:00
Lucy
a0091235a4
🗑️ Code cleanup 2022-07-06 15:32:21 -04:00
Lucy
5bf43a72af
♻️ Use u16 instead of newline 2022-07-06 11:58:57 -04:00
Lucy
dedfb57285
Socket passing works! 2022-06-30 12:07:45 -04:00
Lucy
606800a711
Send length alongside Message::NewPrivilegedClient 2022-06-30 11:09:00 -04:00
Lucy
f39cdb37b5
🚧 Proper WAYLAND_SOCKET setup, I think. 2022-06-30 10:35:02 -04:00
Lucy
97fa3df483
🚧 More IPC stuff 2022-06-28 16:19:47 -04:00
Lucy
a0c05bcb66
🚧 Implement compositor IPC further 2022-06-28 13:40:16 -04:00
Lucy
09b03fda1a
🚧 Work on session<->comp IPC 2022-06-27 14:17:31 -04:00
Lucy
a732dafc36
Send a socket as COSMIC_SESSION_SOCK to the compositor 2022-06-27 13:54:24 -04:00
Lucy
be2b800716
🐛 Whoops, I'm supposed to use WAYLAND_DISPLAY, not WAYLAND_SOCKET (thanks @Drakulix!) 2022-06-24 20:36:49 -04:00
Lucy
1350cd4335
🚧 Doesn't work... 2022-06-24 15:43:48 -04:00
Lucy
c84857ae9b
🔒️ Move away from std::env::set_var, which is unsound 2022-06-24 14:46:14 -04:00
Lucy
fb1a832916
Get WAYLAND_SOCKET from comp; run cosmic-panel 2022-06-24 12:56:38 -04:00
Lucy
8bf6567a91
🚧 Basic ProcessHandler works! 2022-06-24 11:43:48 -04:00
Lucy
7d3cacf839
✏️ Fix typo in error message 2022-06-23 10:45:57 -04:00
Lucy
bf77beb91e
♻️ Use a channel rather than a closure for ProcessHandler 2022-06-23 10:43:58 -04:00
Lucy
affb81a7a0
🚧 Add process handling framework 2022-06-22 14:09:59 -04:00
Lucy
5b9527461f
🎉 Initial Commit 2022-06-22 12:23:04 -04:00
Lucy
3a58d654ee
Initial commit 2022-06-20 13:45:14 -04:00