Commit graph

118 commits

Author SHA1 Message Date
Vukašin Vojinović
7bab53c5b4 chore: clippy 2025-10-27 15:10:24 -06:00
Vukašin Vojinović
a7f8a62807 improv: don't resize column for caps lock and error text
This prevents the other column items from jumping around depending on if Caps Lock is toggled or if an error is shown. Now only the error text moves depending on if Caps Lock is toggled.
2025-10-27 15:10:24 -06:00
Michael Aaron Murphy
9ba6a0481c
perf: cache image handles 2025-09-17 18:25:57 +02:00
Vukašin Vojinović
31912afaa1 chore: update dependencies
The ICU update reduces binary size by ~20 MB.
2025-09-16 09:28:25 -06:00
Ashley Wulber
79bf2cb4f8 chore: cleanup logs 2025-09-12 23:47:22 +02:00
Ashley Wulber
16185fe21e fix: reposition subsurface after layer surface size update 2025-08-29 10:29:15 -04:00
Ashley Wulber
0e2141ac6c refactor: use randr kdl command
cleanup

chore: update deps

fix: typo
2025-08-29 10:29:15 -04:00
Ashley Wulber
f3f7d5cfb6 feat: load and apply output configs
fix: typo

chore: update deps

cleanup
2025-08-29 10:29:15 -04:00
Ashley Wulber
db59a72eb9 feat: introduce cosmic-greeter-start for state cleanup 2025-08-12 10:59:29 -05:00
Ashley Wulber
9a72c09fed better syncing 2025-08-12 10:59:29 -05:00
Ashley Wulber
9c1306d8c7 feat: accessibility menu 2025-08-12 10:59:29 -05:00
Jeremy Soller
38e6b93d57
Do not inhibit suspend when lock screen already shown, fixes #230 2025-07-08 10:00:32 -06:00
Jeremy Soller
6ea0f9868a
Fix comment formatting 2025-07-08 09:50:05 -06:00
Ashley Wulber
6813da21b5 fix: binary search won't work for name comparison 2025-06-30 18:30:21 +00:00
Ashley Wulber
bbaa1935f4 feat: last user 2025-06-30 18:30:21 +00:00
Ashley Wulber
ab2ae6d31e fix: clear dropdown after enter user is selected 2025-06-27 08:43:04 -04:00
Ashley Wulber
b740ad246b refactor(locker): scrollable menu in locker 2025-06-27 08:43:04 -04:00
Ashley Wulber
abc591db6d refactor: allow entering username 2025-06-27 08:43:04 -04:00
Jason Rodney Hansen
046f805084 Update time when resuming from sleep 2025-06-05 06:15:22 +08:00
Jeremy Soller
b38bcd296a
Show if caps lock is active, fixes #115 2025-05-15 14:18:08 -06:00
Jeremy Soller
2fff220392 Move layout and prompt handling to common code 2025-05-12 14:48:32 -06:00
Jeremy Soller
8812240f50 Combine some logic between greeter and locker 2025-05-12 14:48:32 -06:00
Jeremy Soller
c9913834f2 Cleanup config handling 2025-05-12 14:48:32 -06:00
Jeremy Soller
75948f857a Load military time in locker, fixes #150 2025-05-12 14:48:32 -06:00
Jeremy Soller
04c3271f4a Unify user data handling between greeter and locker 2025-05-12 14:48:32 -06:00
Ashley Wulber
525c635124 fix: avoid Fill for the left element
this will allow the left element to expand if it needs more space, but half otherwise. Setting both left and right to Fill will make them both use half of the available space.
2025-05-02 18:08:05 +02:00
Ashley Wulber
9e22418e53 fix: apply military time preference to time 2025-04-15 12:09:18 -04:00
Ashley Wulber
37cff18672 refactor: use icu for datetime 2025-04-10 15:35:57 -06:00
Michael Aaron Murphy
0600931abf refactor: improve and fix subscriptions and async logic 2025-04-10 16:51:24 -04:00
LinuxBoy-96
3236f3ec31
chore: switch from lexopt to clap_lex 2025-03-25 16:10:47 +01:00
LinuxBoy-96
5b383f669b
feat: add help and version command line arguments 2025-03-24 19:50:51 +01:00
Ashley Wulber
d6b94406e6 refactor: lock surface subsurface menu 2025-03-15 02:57:51 +00:00
Ashley Wulber
b84ee1827c update libcosmic 2025-03-15 02:57:51 +00:00
Ashley Wulber
4b0e73fca4 update libcosmic 2025-03-15 02:57:51 +00:00
Ashley Wulber
7918485651 update libcosmic
this uses a subsurface for the greeter menu and a text input that manages its own input string state
2025-03-15 02:57:51 +00:00
Michael Aaron Murphy
b93acffd87 fix: XDG_SESSION_ID may contain non-numerical characters 2025-01-24 13:03:19 +01:00
Josh Megnauth
ae3586fa14
fix: Correctly detect all keyboard layouts
Closes: #1160

See these for more info:
* pop-os/cosmic-applets#725
* lilyinstarlight/nixos-cosmic#484
* lilyinstarlight/nixos-cosmic#74

Also, thanks to @Thatoo for all of the help in figuring this out!
2024-11-22 02:24:38 -05:00
Jeremy Soller
08202f1572
Recover previous locked state 2024-11-07 09:37:16 -07:00
TornaxO7
18e730c7d8
greeter: fix show password for greeter 2024-10-06 20:45:50 +02:00
Lily Foster
37a96b4b30
Set full_name_opt to None when GECOS data is empty 2024-09-27 10:52:27 -04:00
Jeremy Soller
4ddb320dae
Merge pull request #130 from lilyinstarlight/fix/get-session-by-pid-race
Fix race condition when getting login session
2024-09-22 15:45:19 -06:00
Lily Foster
a114971a67
Fix race condition when getting login session
If `org.freedesktop.login1.Manager.GetSessionByPID` is called after
cosmic-session puts it in a new systemd scope, it will no longer find
the login session as it would have been removed out of the login session
scope.

Most of the time, cosmic-greeter gets to that line before the scope is
changed, but sometimes (particularly on slower systems or virtual
machines) this race can be lost and lead to cosmic-greeter failing to
start and preventing lockscreen from working.

This commit solves that race condition by always checking the parent PID
instead (which would be cosmic-session which is always present in the
login session scope), and all POSIX-y systems should support using parent
PID.
2024-09-22 17:04:23 -04:00
Josh Megnauth
047e393eb8
Remove unneeded searches in ConfigUpdateUser 2024-09-07 02:17:27 -04:00
Josh Megnauth
70b8cae87e
Reduce time text's size for 12 hour clock 2024-09-06 23:02:08 -04:00
Josh Megnauth
5a7f5dc3b5
Reduce searches by caching UserData index 2024-09-06 23:01:54 -04:00
Josh Megnauth
912017615c
Respect user config for military time
Closes: #96
2024-09-06 21:48:00 -04:00
Jeremy Soller
ff03667847
Merge pull request #124 from pop-os/pam
Add custom PAM configuration to start gnome-keyring
2024-09-06 10:50:59 -06:00
Jeremy Soller
c8477a97a9
Merge pull request #112 from joshuamegnauth54/issue-109-restore-user-session-choice
Default to user's previously selected session
2024-09-06 10:50:37 -06:00
Jeremy Soller
ef1253aa23
Add custom PAM configuration to start gnome-keyring 2024-09-06 10:34:37 -06:00
Jeremy Soller
cd9fc48c6f
Merge pull request #116 from joshuamegnauth54/issue-103-localize-datetime-password-prompt
Localize date strings
2024-08-28 21:51:08 -06:00