use hyprlock as lockscreen
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -22,7 +22,6 @@ gqrx/
|
|||||||
gtk-*.0/
|
gtk-*.0/
|
||||||
htop/
|
htop/
|
||||||
inkscape/
|
inkscape/
|
||||||
hypr/
|
|
||||||
lazygit/
|
lazygit/
|
||||||
libreoffice/
|
libreoffice/
|
||||||
libvirt/
|
libvirt/
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ in {
|
|||||||
swayidle
|
swayidle
|
||||||
swww
|
swww
|
||||||
kanshi
|
kanshi
|
||||||
|
hyprlock
|
||||||
|
|
||||||
# System utilities & monitoring
|
# System utilities & monitoring
|
||||||
btop
|
btop
|
||||||
|
|||||||
73
hypr/hyprlock.conf
Normal file
73
hypr/hyprlock.conf
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
$font = Monospace
|
||||||
|
|
||||||
|
general {
|
||||||
|
hide_cursor = false
|
||||||
|
}
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
bezier = linear, 1, 1, 0, 0
|
||||||
|
animation = fadeIn, 1, 5, linear
|
||||||
|
animation = fadeOut, 1, 5, linear
|
||||||
|
animation = inputFieldDots, 1, 2, linear
|
||||||
|
}
|
||||||
|
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
path = screenshot
|
||||||
|
blur_passes = 4
|
||||||
|
}
|
||||||
|
|
||||||
|
source = $HOME/.cache/wal/colors-hyprland.conf
|
||||||
|
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 20%, 5%
|
||||||
|
outline_thickness = 3
|
||||||
|
inner_color = rgba(0, 0, 0, 0.0) # no fill
|
||||||
|
|
||||||
|
outer_color = $color1 $color2 45deg
|
||||||
|
check_color = $color3 $color4 120deg
|
||||||
|
fail_color = $color5 $color6 40deg
|
||||||
|
|
||||||
|
font_color = $color15
|
||||||
|
fade_on_empty = false
|
||||||
|
rounding = 32
|
||||||
|
|
||||||
|
font_family = $font
|
||||||
|
placeholder_text = unlock me :3
|
||||||
|
fail_text = wrong you fucking idiot >:3
|
||||||
|
|
||||||
|
dots_text_format = ❤
|
||||||
|
dots_size = 0.5
|
||||||
|
dots_spacing = 0.3
|
||||||
|
|
||||||
|
position = 0, -20
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# TIME
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $TIME
|
||||||
|
font_size = 90
|
||||||
|
font_family = $font
|
||||||
|
|
||||||
|
position = 0, 165
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# DATE
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:60000] date +"%A, %d %B %Y"
|
||||||
|
font_size = 25
|
||||||
|
font_family = $font
|
||||||
|
|
||||||
|
position = 0, 75
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
@@ -164,7 +164,7 @@ binds {
|
|||||||
}
|
}
|
||||||
// Utility shortcuts
|
// Utility shortcuts
|
||||||
Mod+L {
|
Mod+L {
|
||||||
spawn "noctalia-shell" "ipc" "call" "lockScreen" "lock"
|
spawn "hyprlock"
|
||||||
}
|
}
|
||||||
// Mod-Shift-/, which is usually the same as Mod-?,
|
// Mod-Shift-/, which is usually the same as Mod-?,
|
||||||
// shows a list of important hotkeys.
|
// shows a list of important hotkeys.
|
||||||
|
|||||||
Reference in New Issue
Block a user