This repository has been archived on 2024-07-10. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-nix/nix/home/hyprland/hyprlock.nix

93 lines
1.6 KiB
Nix
Raw Normal View History

{ config, ... }:
{
# include hyprland configs
home.file.".config/hypr/hyprlock.conf".text = ''
# general
general {
no_fade_in = false
no_fade_out = false
}
# background
background {
monitor =
path = $HOME/Pictures/wallpaper.png
}
# password input
input-field {
monitor =
dots_center = true
dots_size = 0.2
dots_spacing = 0.64
fade_on_empty = true
hide_input = false
2024-04-01 00:48:04 +02:00
placeholder_text = <b> 1 2 3 4 5 ... </b>
position = 0, 150
size = 250, 50
outline_thickness = 3
2024-04-01 00:48:04 +02:00
font_color = rgb(fab387)
inner_color = rgb(131517)
outer_color = rgb(528bff)
halign = center
valign = bottom
}
# time
label {
monitor =
text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>"
position = 0, 20
2024-04-01 00:48:04 +02:00
color = rgb(fab387)
font_size = 64
font_family = JetBrains Mono Nerd Font 10
halign = center
valign = center
}
2024-04-01 00:48:04 +02:00
# date and time
label {
monitor =
text = cmd[update:1000] echo "$(date +%A) $(date +%d) $(date +%B)"
position = 0, 0
2024-04-01 00:48:04 +02:00
color = rgb(fab387)
font_size = 20
font_family = JetBrains Mono Nerd Font 10
halign = center
valign = center
}
# unlock
label {
monitor =
text = 👤 siempie
position = 0, 120
2024-04-01 00:48:04 +02:00
color = rgb(528bff)
font_size = 14
font_family = JetBrains Mono Nerd Font 10
halign = center
valign = bottom
}
'';
}