Files
dotfiles/common/hypr/hyprlock.conf
T
connor e6644d0616 Rebuild dotfiles as one branch with per-host layers
Replaces the previous repo, which had split into two histories that never
met (mainframe on a dead GitLab remote, the laptops on Gitea) with 146
dirty files across three machines and the NAS never enrolled at all.

Branch-per-machine is gone. One main, with host differences expressed as
small files under hosts/<hostname>/ rather than as branches, so there is
nothing to merge. The reconciled zsh layer reduces 15-33 line forks to
1-7 effective lines per host; distro differences (oh-my-zsh prefix,
syntax-highlighting path, fd vs fdfind) are probed in common/ instead.

Fresh history: the old one carried six plaintext credentials, 45 MB of
mail caches, browser caches and vendored binaries. 5,096 tracked files
and 144 MB become 462 files and 2.6 MB. The .gitignore is now an
allowlist, which is what keeps that true.

Root cause of the rot: ~/.local/bin was a symlink to scripts/ with GOPATH
inside it, so every go install wrote into version control (2.2 GB on the
work laptop). PATH now points at the repo instead of the reverse.

Also: Hyprland replaces sway and is sourced in two halves so $browser is
defined before use; singleton automations carry ConditionHost= alongside
host-layer-only placement; ddns moves from cron to a guarded timer;
package manifests and pkg-snapshot/pkg-restore replace the X11-era
install_scripts/; networkmanager-dmenu added to system76 (the binding
always existed, the package never did).
2026-09-14 14:24:37 -04:00

111 lines
2.3 KiB
Plaintext

$font = Roboto
general {
hide_cursor = true
ignore_empty_input = true
}
animations {
enabled = true
bezier = linear, 1, 1, 0, 0
bezier = overshoot, .31, .23, .59, 1.84
bezier = smoothOut, 0.4, 0, 0.2, 1
bezier = dots, .66, .19, .41, .97
animation = fadeIn, 1, 8, overshoot
animation = fadeOut, 1, 8, smoothOut
animation = inputFieldDots, 1, 2, dots
animation = inputFieldColors, 1, 4, smoothOut
animation = inputFieldWidth, 1, 3, overshoot
}
background {
monitor =
path = screenshot
blur_passes = 3
blur_size = 4
noise = 0.05
brightness = 0.3
contrast = 1.0
}
input-field {
monitor =
size = 25%, 3.0%
outline_thickness = 2
inner_color = rgba(0f141ebb)
outer_color = rgb(1a6ecf) rgb(00b46a) 0deg
fail_color = rgb(ff4a6e) rgb(ff9040) 45deg
check_color = rgb(f7c948) rgb(f9a826) 45deg
font_color = rgb(183, 183, 183)
fade_on_empty = false
rounding = 12
font_family = $font
placeholder_text = Input password...
fail_text = $PAMFAIL
# uncomment to use a letter instead of a dot to indicate the typed password
# dots_text_format = *
# dots_size = 0.4
dots_spacing = 0.7
position = 0, -20
halign = center
valign = center
}
# USER
label {
monitor =
text = $USER
font_size = 40
font_family = $font
position = 0, +100
halign = center
valign = center
}
# TIME
label {
monitor =
text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution
font_size = 90
font_family = $font
position = -120, -60
halign = right
valign = top
}
# DATE
label {
monitor =
text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds
font_size = 25
font_family = $font
position = -120, -185
halign = right
valign = top
}
label {
monitor =
text = cmd[update:60000] \
hour=$(date +%H); \
if [ $hour -lt 12 ]; then echo "Good morning."; \
elif [ $hour -lt 18 ]; then echo "Good afternoon."; \
else echo "Good evening."; fi
font_size = 18
font_family = $font
color = rgba(ffffffaa)
position = 0, +60
halign = center
valign = center
shadow_passes = 1
shadow_size = 3
position = -120, -225
halign = right
valign = top
}