Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hyprlock: add alternative script for NixOS, if uptime -p fails #253

Merged
merged 2 commits into from
May 10, 2024

Conversation

JohnRTitor
Copy link
Contributor

@JohnRTitor JohnRTitor commented May 10, 2024

In some operating systems, uptime command is taken from GNU coreutils and as such uptime -p will result in error (adi1090x/rofi#15).

  • This PR adds a workaround script to parse /proc/uptime get the actual uptime, if uptime -p is not available.

  • Additionally, use --immediate to lock the screen if user clicks Lock.

@JohnRTitor
Copy link
Contributor Author

IMG_20240510_120913

@JaKooLit JaKooLit merged commit d44b77d into JaKooLit:development May 10, 2024
@JohnRTitor JohnRTitor deleted the patch-hyprlock branch May 10, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants