Commit graph

69 commits

Author SHA1 Message Date
Ashley Wulber
ac889a2d57 cleanup: remove unnessecary use of Arc and Mutex 2023-08-03 09:19:45 -04:00
Ashley Wulber
9e47459047 cleanup: remove unused function 2023-08-03 09:19:45 -04:00
Ashley Wulber
8590c67be5 fix: remove comment about safety as it's not necessary anymore 2023-08-03 09:19:45 -04:00
Ashley Wulber
cae8dc6a27 cleanup: notification socket creation 2023-08-03 09:19:45 -04:00
Ashley Wulber
eabfa58bd5 fix: typos in error messages 2023-08-03 09:19:45 -04:00
Ashley Wulber
d03c19bd10 update launchpad and use max-restarts with backoff 2023-08-03 09:19:45 -04:00
Ashley Wulber
0115e3aaae refactor: update launchpad 2023-08-03 09:19:45 -04:00
Ashley Wulber
ec6dd44a9c cleanup and update launchpad 2023-08-03 09:19:45 -04:00
Ashley Wulber
e1a174f61d fix: prevent session from exiting 2023-08-03 09:19:45 -04:00
Ashley Wulber
8bff06e9a7 wip: better handling of cloexec with reused fds for panel and notifications daemon 2023-08-03 09:19:45 -04:00
Ashley Wulber
4c9557f42b feat: send notifications and panel Fds 2023-08-03 09:19:45 -04:00
Ashley Wulber
f8bb451f68 start notifications daemon 2023-08-03 09:19:45 -04:00
Ashley Wulber
3746d20225 fix: set nonblocking to true for the client Fd 2023-06-27 14:19:40 -04:00
Ian Douglas Scott
f506f60a40 Start cosmic-osd
Seems this had been removed in a4a791e.

This makes polkit dialogs show, though the Iced implementation of those
could use improvement.
2023-03-20 10:52:23 -07:00
Ian Douglas Scott
2801b681ed Depend on cosmic-workspaces, and start it 2023-03-14 00:08:57 -04:00
Ian Douglas Scott
30ca971eb1 Factor out duplicated code for spawning component with tracing span 2023-03-14 00:08:57 -04:00
Ashley Wulber
3094e4698e fix: start xdg-desktop-portal-cosmic 2023-03-03 20:45:06 -05:00
Ian Douglas Scott
1fe93839db Don't log output of cosmic-comp/cosmic-panel, log panics
It is better to have `cosmic-comp` and `cosmic-panel` log to journald
themselves.

Having panics logged should be helpful if panics ever occur.
2023-01-13 11:57:38 -08:00
Ashley Wulber
89c524398e
refactor: iced 2022-11-28 10:22:09 -05:00
Ashley Wulber
23d702ae1e
remove privileged socket creation & wayland-proxy-virtwl execution 2022-10-23 23:25:05 -04:00
Ashley Wulber
9e8e7a14b7
wayland-proxy-virtwl 2022-10-23 19:48:00 -04:00
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
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
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
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
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
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
b07df79e4c
🩹 Don't run cosmic-app-library in the session 2022-07-07 16:47:05 -04:00