Hyprlock + Hypridle
Re-work of Khings original PR #1173
+ All 3 layouts done ✅
+ Dynamic wallpaper same as background ✅
+ Dynamic color accents same as theme ✅
+ Restructured a few modules and cleaned them ✅
+ Positioned them like this on purpose for layout 1 because I have the same style and colors for sddm config,
for a pr after this.
+ sddm config also added ✅
+ need to work on user avatar for sddm though
Layout 1
Layout 3
Layout 2
SDDM configs
@abenezerw check these out https://github.com/MrVivekRajan/Hyprlock-Styles
@abenezerw check these out https://github.com/MrVivekRajan/Hyprlock-Styles
I saw them. But just wanted something simple for the default lock screen. Of course people who are config savvy can swap out their lockscreen. And would probably have already. I’m just doing this for the average people out there who blindly install arch and hyprdots just cause it looks cool. 😎😂
@kRHYME7 any update on this one. Looks like this can be merged.
@kRHYME7 any update on this one. Looks like this can be merged.
@rubiin, @abenezerw i know im not him but from using this config here's what i know needs to be changed so far:
keybindings.conf needs the line bindl = ,switch:Lid Switch, exec, hyprlock (also needs to change the default lock bind to use hyprlock instead of swaylock) and the wlogout layouts need to be fixed.
I have merged this to my fork and perform some testing and want to share my suggestions:
/Configs/.config/hypr/keybindings.conf:
-bind = $mainMod, L, exec, swaylock # launch lock screen
+bind = $mainMod, L, exec, hyprlock # launch lock screen
/Scripts/restore_fnt.lst
+Font_Anurati|$HOME/.local/share/fonts
/Scripts/custom_hypr.lst
-swaylock-effects-git
+hypridle
+hyprlock
Do share here of you came across anything that is lagging or needs tweaking
I have merged this to my fork and perform some testing and want to share my suggestions:
/Configs/.config/hypr/keybindings.conf:
-bind = $mainMod, L, exec, swaylock # launch lock screen +bind = $mainMod, L, exec, hyprlock # launch lock screen/Scripts/restore_fnt.lst
+Font_Anurati|$HOME/.local/share/fonts/Scripts/custom_hypr.lst
-swaylock-effects-git +hypridle +hyprlock
Done, Done and Done. Thanks.
I have some additional thoughts, want to discuss it here:
-
Hyprdots keyboard switch is not compatible with any screenlock (hyprlock/swaylock), to fix this
input.kb_optionsshould be used to switch keyboard layout. Usingkb_optionsallow you to switch layout on lockscreen, otherwise you are stuck and unable to input password correctly.Example:
input { kb_options = grp:win_space_toggle } -
Hyprlock layouts do not show current keyboard layout, which can be confusing, maybe to add display of layout if it is other, than default one?
Example:
# Keyboard layout label { monitor = text = $LAYOUT[!] color = $p4_accent_9_rgba font_size = 14 font_family = $font_family Medium position = 30, 30 halign = left valign = bottom }
One suggestion here for layout3:
/Configs/.config/hypr/hyprlock/presets/layout3.conf:
-text = cmd[update:1000] echo "$(date +"%A")"
+text = cmd[update:1000] date +"%A" | awk '{ print toupper($0) }'
After this change Anurati font will apply for all letters, noy only for first. Looks like this font contains only capital letters.
One suggestion here for layout3:
/Configs/.config/hypr/hyprlock/presets/layout3.conf:
-text = cmd[update:1000] echo "$(date +"%A")" +text = cmd[update:1000] date +"%A" | awk '{ print toupper($0) }'After this change
Anuratifont will apply for all letters, noy only for first. Looks like this font contains only capital letters.
good catch. i forgot about this one. basically just set it all up locally and forgot about this pr.
I have some additional thoughts, want to discuss it here:
1. Hyprdots keyboard switch is not compatible with any screenlock (hyprlock/swaylock), to fix this `input.kb_options` should be used to switch keyboard layout. Using `kb_options` allow you to switch layout on lockscreen, otherwise you are stuck and unable to input password correctly. Example: ``` input { kb_options = grp:win_space_toggle } ``` 2. Hyprlock layouts do not show current keyboard layout, which can be confusing, maybe to add display of layout if it is other, than default one? Example: ``` # Keyboard layout label { monitor = text = $LAYOUT[!] color = $p4_accent_9_rgba font_size = 14 font_family = $font_family Medium position = 30, 30 halign = left valign = bottom } ```
and lets hold off on this one until/if this gets merged. its already getting beefy. just want to have the basics first
@abenezerw any thing left to update ?
@abenezerw any thing left to update ?
i dont think so. even if anything is left. i think they can be updated with extra prs. this is just the bare minimum.
@kRHYME7 LGTM. Its been on review for a while.