ft/adds hyprlock as lockscreen

This commit is contained in:
itsscb 2024-05-05 23:36:30 +02:00
parent beb9d6399d
commit 100fe826bb
2 changed files with 53 additions and 4 deletions

View File

@ -0,0 +1,49 @@
background {
monitor =
path = /etc/nixos/dotfiles/hypr/rust.png
}
label {
monitor =
text = cmd[] echo "${USER^^}"
font_size = 25
font_family = FiraCode Nerd Font Bold
color = rgba(255,255,255,1.0)
position = -180, 100
halign = right
valign = bottom
}
label {
monitor =
text = cmd[update:1000] echo "$TIME"
font_size = 18
font_family = FiraCode
color = rgba(255,255,255,1.0)
position = -180, 80
halign = right
valign = bottom
}
input-field {
monitor =
size = 300, 50
outline_thickness = 3
dots_size = 0.33
dots_spacing = 0.15
dots_rounding = -1
outer_color = rgb(0,0,0)
inner_color = rgb(0,0,0)
font_color = rgb(255,255,255)
placeholder_text = <i>password</i>
hide_input = false
fade_on_empty = false
position = 0, -200
halign = center
valign = center
}

View File

@ -208,8 +208,9 @@ wayland.windowManager.hyprland.settings = {
bind =
[
"$mod, T, exec, $terminal"
"$mod, L, exec, hyprlock"
"$mod, Q, exec, $terminal"
"$mod, M, exit"
"$mod SHIFT, L, exit"
"$mod, C, killactive"
"$mod, E, exec, $fileManager"
"$mod, V, exec, togglefloating"
@ -219,9 +220,8 @@ wayland.windowManager.hyprland.settings = {
"$mod, U, fullscreen,"
"$mod, P, focuscurrentorlast,"
"$mod, P, movewindow,l"
"$mod, H, movefocus, l"
"$mod, L, movefocus, r"
"$mod, K, movefocus, u"
# "$mod, H, movefocus, l"
# "$mod, K, movefocus, u"
"$mod, J, movefocus, d"
"$mod, S, togglespecialworkspace, magic"
"$mod SHIFT, S, movetoworkspace, special:magic"