Commit graph

56 commits

Author SHA1 Message Date
Ashley Wulber
c41c108c4f
fix: mark comp sock as not cloexec 2022-10-23 19:33:43 -04:00
Ashley Wulber
c350099b76
feat: cosmic-bg & update deps 2022-10-23 17:41:28 -04:00
Jeremy Soller
667b5e6c19 Only require profile to be a file 2022-09-23 13:15:08 -06:00
Jeremy Soller
91debd1729 Source user profile 2022-09-23 13:15:08 -06:00
Lucy
f75e970847
🚨 Everything now seems to compile! 2022-09-23 14:52:14 -04:00
Lucy
a4a791ed33
🚧 Move process management to launch-pad 2022-09-19 13:48:48 -04:00
Lucy
9c57475bb6
Merge pull request #5 from pop-os/osd-portal
Start `cosmic-osd`, `xdg-desktop-portal-cosmic`, with privileged sockets
2022-08-24 11:05:30 -04:00
Ian Douglas Scott
37f32879db Start cosmic-osd, xdg-desktop-portal-cosmic, with privileged sockets
Also adds these and `cosmic-settings-daemon` as dependencies.
2022-08-23 18:35:29 -07:00
Lucy
1b80ab806e
Merge pull request #4 from pop-os/ownedfd
Use `OwnedFd`, now that it's stable
2022-08-15 14:31:39 -04:00
Ian Douglas Scott
46047f4a58 Use OwnedFd, now that it's stable 2022-08-12 09:18:58 -07:00
Lucy
e822a87072
📝 Document compositor-related (comp.rs) code 2022-08-08 11:19:27 -04:00
Lucy
89c606ab18
Exit compositor on IPC failure 2022-08-03 14:12:05 -04:00
Lucy
29e6dd0f84
Launch swaybg 2022-07-29 12:00:29 -04:00
Lucy
36adce5aa8
Start cosmic-settings-daemon 2022-07-29 11:59:51 -04:00
Lucy
1c8ded8e20
Only run one cosmic-panel 2022-07-29 11:59:12 -04:00
Lucy
6893bac687
🚧 Add Restart stub method 2022-07-25 12:34:48 -04:00
Ashley Wulber
afee62bc3d
Merge pull request #1 from pop-os/applet-host
applet host
2022-07-25 11:04:18 -04:00
Lucy
2bda93e030
D-Bus session service, currently only used to exit. 2022-07-22 11:50:15 -04:00
Lucy
d13768607c
♻️ Use session proxy when stopping systemd target 2022-07-21 14:26:32 -04:00
Ashley Wulber
84427afcdf
fix: add more dependencies 2022-07-20 13:17:26 -04:00
Ashley Wulber
0cc6fe8758
refactor: use new method for creating privileged sockets and running the executable 2022-07-20 13:16:23 -04:00
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