1
1
Fork 0

Compare commits

..

No commits in common. "c23ebff01d68aa2d92d3c372864aca3804097b3a" and "17a335673b666331e42fd57c7b6669780b79455f" have entirely different histories.

2 changed files with 23 additions and 58 deletions

View file

@ -11,88 +11,55 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.hyprlock.enable = true; # Grant PAM access programs.hyprlock.enable = true; # Grant PAM access
# https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock
# https://github.com/hyprwm/hyprlock # https://github.com/hyprwm/hyprlock
home-manager.users.${config.custom.username}.programs.hyprlock = { home-manager.users.${config.custom.username}.programs.hyprlock = {
enable = true; enable = true;
# https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock
# https://wiki.hyprland.org/Hypr-Ecosystem/hyprlang/#comments
settings = { settings = {
general = { general = {
disable_loading_bar = true;
enable_fingerprint = true; # Enter not required
fingerprint_present_message = "<span foreground='##d33682'>󰈷</span>";
fingerprint_ready_message = "󰈷";
grace = 5 * 60; # Seconds grace = 5 * 60; # Seconds
hide_cursor = true; hide_cursor = true;
ignore_empty_input = true; #// immediate_render = true;
no_fade_in = true; # Fix suspend interrupting animation no_fade_in = true; # Fix suspend interrupting animation
}; };
background = { background = {
blur_passes = 5; blur_passes = 5;
color = "rgb(073642)"; # Fallback color = "rgb(073642)";
path = "/tmp/wallpaper.png"; path = "/tmp/wallpaper.png";
}; };
input-field = { input-field = {
capslock_color = "rgb(cb4b16)"; capslock_color = "rgb(cb4b16)";
check_color = "rgb(859900)"; check_color = "rgb(859900)";
fade_on_empty = false;
fade_timeout = 0; fade_timeout = 0;
fail_color = "rgb(dc322f)"; fail_color = "rgb(dc322f)";
fail_text = ""; fail_text = "";
font_color = "rgb(93a1a1)"; font_color = "rgb(fdf6e3)";
inner_color = "rgb(002b36)"; inner_color = "rgb(002b36)";
outer_color = "rgb(d33682)"; outer_color = "rgb(fdf6e3)";
outline_thickness = 3; outline_thickness = 0;
placeholder_text = ""; placeholder_text = "";
position = "0, 0"; position = "0, 0";
size = "500, 50"; shadow_passes = 1;
shadow_size = 2;
size = "300, 50";
}; };
label = [ label = {
# Time color = "rgb(fdf6e3)";
{ font_family = config.custom.font.monospace;
color = "rgb(93a1a1)"; font_size = 48;
font_family = config.custom.font.sans-serif; halign = "center";
font_size = 64; position = "0, 200";
halign = "center"; text_align = "center";
position = "0, 200"; valign = "center";
# BUG: Noon displayed as 00:00, fixed > v0.5.0 # 12:00 AM
# https://github.com/hyprwm/hyprlock/issues/552 # Sunday, January 01
#// text = "$TIME12"; text = "cmd[update:1000] echo \"<span allow_breaks='true'>$(date +'%I:%M %p<br/><small>%A, %B %d</small>')</span>\"";
text = ''cmd[update:1000] echo "$(date +'%I:%M %p')"''; # 12:00 AM };
text_align = "center";
valign = "center";
}
# Date
{
color = "rgb(93a1a1)";
font_family = config.custom.font.sans-serif;
font_size = 32;
halign = "center";
position = "0, 100";
text = ''cmd[update:60000] echo "$(date +'%a %b %d')"''; # Sun Jan 01
text_align = "center";
valign = "center";
}
# Fingerprint
{
color = "rgb(93a1a1)";
font_family = config.custom.font.monospace;
font_size = 32;
halign = "center";
position = "0, -100";
text = "$FPRINTMESSAGE";
text_align = "center";
valign = "center";
}
];
}; };
}; };
}; };

View file

@ -25,10 +25,8 @@ in {
gnome = { gnome = {
sushi.enable = true; # Quick preview with spacebar sushi.enable = true; # Quick preview with spacebar
tracker.enable = cfg.index; # File indexing
# File indexing tracker-miners.enable = cfg.index;
localsearch.enable = cfg.index;
tinysparql.enable = cfg.index;
}; };
}; };