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

[Feature Request]: hyprlock layout preview #283

Open
dieBakterie opened this issue Feb 22, 2025 · 5 comments
Open

[Feature Request]: hyprlock layout preview #283

dieBakterie opened this issue Feb 22, 2025 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@dieBakterie
Copy link
Collaborator

es
de

Feature Request

Description

Hyprlock Layout previewer for an preview of your layout only used for testing/creating an own hyprlock layout/style with no need to enter your password every single time.

Use Case

Would be nice to edit and then shortly preview the layout and unlock without the need to enter your long safe Password.

Proposed Solution

Use an high grace so the user can just unlock without the need to enter his password every single time.

Alternatives

We use an timer in the script and when it ends we send an unlock cmd via script.

Additional Information

This would be nice if you do a lot of minor changes one after another and ain't wanna type in your Password every time just to see how it looks. Would add a nice workflow for users and make it easier to do their own layouts and testing them too

@dieBakterie dieBakterie added the enhancement New feature or request label Feb 22, 2025
@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 22, 2025

Yeah doable as I'm doing this.

xdg_cache/test.conf



source = $HOME/.config/hypr/hyprlock.conf


general {
..add  grace stuff here...
}

@dieBakterie
Copy link
Collaborator Author

So like an template and maybe an additional script for checking if the layout works with the parser... and all too?

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 22, 2025

wdym with parser?


The workflow I can think of is.

  1. Create or copy a config
touch ~/.config/hypr/hyprlock/myLayout.conf
  1. hyprlock.sh --test '~/.config/hypr/hyprlock/myLayout.conf'

Basically run

hyprlock --config hyde_runtime_dir/hyprlock-test.conf

where xdg_cache/hyprlock-test.conf is an autogenerated copy of hyprlock.conf but it is not in the .config, also with added grace period.

@dieBakterie
Copy link
Collaborator Author

dieBakterie commented Feb 22, 2025

wdym with parser?


The workflow I can think of is.

  1. Create or copy a config
touch ~/.config/hypr/hyprlock/myLayout.conf
  1. hyprlock.sh --test '~/.config/hypr/hyprlock/myLayout.conf'

Basically run

hyprlock --config hyde_runtime_dir/hyprlock-test.conf

where xdg_cache/hyprlock-test.conf is an autogenerated copy of hyprlock.conf but it is not in the .config, also with added grace period.

Exactly this, since we've an script for parsing our configs but this way it will use the config generator and therefore throw it through the parser i mentioned earlier.

@rubiin
Copy link
Collaborator

rubiin commented Feb 27, 2025

btw can we also add few more styles as well. I found these a while back https://github.com/mahaveergurjar/Hyprlock-Dots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants