Vukašin Vojinović
17cf4485a9
chore(rustfmt): change imports_granularity to "Module"
...
Also includes a Zed config.
2026-05-02 08:35:47 -06:00
Vukašin Vojinović
673e4c949b
chore: update dependencies
...
Removes the `cosmic-notifications-utils` dependency, and instead defines the notification FDs here (since they're unlikely to change).
2026-05-02 08:35:47 -06:00
Vukašin Vojinović
a77aaa1904
chore: clippy
2026-05-02 08:35:47 -06:00
Vukašin Vojinović
56f0115952
improv(main): use tokio signals for SIGINT and SIGTERM
...
This allows removing async-signals and libc.
2026-05-02 08:35:47 -06:00
Ian Douglas Scott
472db42330
Don't create privileged sockets
...
Our "privileged sockets" support in cosmic comp has never been enforced
by default, and predates the Wayland security context protocol. That
should cover sandboxed clients, while we can't really secure against
non-sandboxed clients.
We also rely on the DBus socket-activated portal backend having access
to "privileged" protocols now.
So it makes sense to remove this.
2025-10-29 18:11:57 -07:00
Ian Douglas Scott
d8ec361e3c
Do not start xdg-desktop-portal-cosmic; so socket activation can
...
https://github.com/pop-os/xdg-desktop-portal-cosmic/pull/176
2025-10-17 11:58:51 -07:00
Ashley Wulber
379ce30715
cleanup: logs
2025-09-19 11:26:54 -06:00
Vukašin Vojinović
3200144164
chore: migrate to Rust 2024
...
Removes the use of `set_var`, since it isn't thread safe.
2025-08-29 10:28:53 -04:00
Ashley Wulber
b2f4277122
feat: inhibit poweroff button
2025-06-13 17:01:48 -04:00
Ashley Wulber
80209d5aad
refactor: enter span
2025-04-24 10:03:52 -06:00
Jeremy Soller
ae761c35b0
Fix compilation
2025-04-24 10:03:52 -06:00
Horu
ba561b4097
fix: ignore error when starting service
2025-04-23 09:03:54 -06:00
ellieplayswow
1ef6af14bb
fix: xdg autostart was not executing
2025-03-23 22:04:38 +01:00
ellieplayswow
dd2e666438
Adding autostart flag for use / consts
2025-02-28 17:05:04 +01:00
ellieplayswow
8b4a8baea7
Rustfmt + adding checks for OnlyShowIn / NotShowIn
2025-02-28 17:05:04 +01:00
ellieplayswow
46468e8b8e
Getting graphical applications working
2025-02-28 17:05:04 +01:00
ellieplayswow
b21878d549
Hiding autostart functionality behind feature gate "autostart"
2025-02-28 17:05:04 +01:00
ellieplayswow
69987c1a0d
Adding in functionality to autostart programs on non-systemd systems
2025-02-28 17:05:04 +01:00
Reilly Brogan
6e48e12443
feat: Import environment variables from systemd user manager
2025-01-14 21:57:19 +01:00
Ashley Wulber
60ff2241ed
feat: try to gracefully shut down settings daemon when exiting
2024-11-22 10:40:54 -05:00
Ashley Wulber
2612282fcf
feat: a11y
2024-11-01 12:52:21 -04:00
Victoria Brekenfeld
5a0df6afb6
main: Only launch xdg-portal on COSMIC
2024-10-31 10:51:10 -07:00
Victoria Brekenfeld
c44946be82
comp: Allow to specify different compositors
2024-10-31 10:51:10 -07:00
Ian Douglas Scott
342369eaf9
Launch cosmic-idle
2024-10-30 10:58:29 -06:00
Ashley Wulber
c3a35f323b
fix: log cosmic-settings-daemon output
2024-10-16 20:33:10 -04:00
Jeremy Soller
657b330669
Launch cosmic-files-applet
2024-10-03 15:42:49 -06:00
Foxinatel
65d4ee1fe2
Make failure to connect to journald a warning, not a hard error
2024-08-29 11:59:48 +02:00
Foxinatel
6519f1d068
Builds without systemd should no longer hard depend on journald
2024-08-29 11:59:48 +02:00
Foxinatel
7b1588611c
Fix compile-time errors with --no-default-features
2024-08-29 11:59:48 +02:00
Daniel Huang
4df7261a6c
Simplify is_systemd_used
2024-08-21 19:14:36 +02:00
Joshua Ferguson
b4561cfc71
[squash] systemd scopes support
...
changes for code review
[squash] systemd scopes support
(doesn't compile) zbus connection seems to be missing sync
I think I got it
scoping works again
switched to a different method of systemd detection and cleaned up dead code
switch launchpad dependency back to main and removed unused imports
2024-06-27 14:50:20 -04:00
Joshua Ferguson
b096107f81
trying to figure out the ideal way to feature gate systemd
2024-06-27 14:50:20 -04:00
Joshua Ferguson
9409cae3f1
failure to create scopes should not stop session from launching
2024-06-27 14:50:20 -04:00
Joshua Ferguson
d6741d5786
logged in and confirmed scopes worked
2024-06-27 14:50:20 -04:00
Joshua Ferguson
93a9524996
added zbus_systemd as an optional dependency
2024-06-27 14:50:20 -04:00
Joshua Ferguson
e1a0048f33
WIP: use systemd scopes for process management
2024-06-27 14:50:20 -04:00
Joshua Ferguson
23c062951c
moved from dbus_interface to interface due to deprecation warning
2024-06-21 12:02:12 -04:00
Jeremy Soller
9d65eca9c9
Launch cosmic-greeter as a daemon
2024-04-08 09:43:20 -06:00
Ron Waldon-Howe
8e73c0f694
fix: rely on channels for synchronisation/sequence instead of sleep()
2024-01-17 00:09:35 +01:00
Ron Waldon-Howe
b724bddf49
feat: set XDG_SESSION_TYPE=wayland just before graphical-session.target
2024-01-17 00:09:35 +01:00
Ron Waldon-Howe
be418fde28
fix: start systemd target _after_ cosmic-comp is ready
2024-01-17 00:09:35 +01:00
Ashley Wulber
334aebc398
refactor: start settings daemon first
2024-01-16 17:07:38 -05:00
Ashley Wulber
8fd40b588a
refactor: pass an extra pirivileged socket to xdp-cosmic
2024-01-16 17:07:38 -05:00
Victoria Brekenfeld
efe4b58279
Merge pull request #34 from jokeyrhyme/optional-systemd-target
...
fix: allow calls for systemd graphical target to fail
2024-01-16 20:49:56 +01:00
Ron Waldon-Howe
c016d254d9
fix: use tokio Mutex and clear other clippy warnings
2024-01-12 11:00:41 +11:00
Ron Waldon-Howe
0bedac052a
fix: allow calls for systemd target to fail
2024-01-11 14:57:37 +11:00
Ashley Wulber
93ee7861e4
chore(nix): update nix flake
2023-12-22 16:34:47 +01:00
Ashley Wulber
d4d7dbce0e
refactor: pass OwnedFd to launch-pad
2023-11-13 10:31:38 -05:00
Ashley Wulber
fd2dc23fac
feat: use privileged sockets
2023-11-13 10:31:38 -05:00
Ashley Wulber
fcb16e29c1
refactor: fully restart after the compositor exits
2023-10-31 11:52:27 -04:00