diff --git a/hyprlock/hyprlock.conf b/hyprlock/hyprlock.conf new file mode 100644 index 0000000..fc0eeef --- /dev/null +++ b/hyprlock/hyprlock.conf @@ -0,0 +1,50 @@ +general { + grace = 0 + hide_cursor = true +} + +background { + monitor = + path = screenshot + blur_passes = 3 + blur_size = 8 +} + +label { + monitor = + text = cmd[update:1000] date +"%-I:%M %p" + font_size = 96 + color = rgba(c5c8c6ff) + position = 0, 150 + halign = center + valign = center +} + +label { + monitor = + text = cmd[update:60000] date +"%A, %B %-d" + font_size = 24 + color = rgba(969896ff) + position = 0, 40 + halign = center + valign = center +} + +input-field { + monitor = + size = 300, 50 + outline_thickness = 2 + dots_size = 0.25 + dots_spacing = 0.4 + inner_color = rgba(282a2eff) + outer_color = rgba(81a2beff) + font_color = rgba(c5c8c6ff) + fail_color = rgba(cc6666ff) + check_color = rgba(b5bd68ff) + placeholder_text = Touch fingerprint or type password + fail_text = $FAIL + fade_on_empty = false + position = 0, -50 + halign = center + valign = center +} diff --git a/install.sh b/install.sh index cd8bf4a..d1c0383 100755 --- a/install.sh +++ b/install.sh @@ -16,7 +16,7 @@ echo "==> Installing packages (using $AUR_HELPER)" $AUR_HELPER -S --needed - < packages.txt echo "==> Creating config directories" -mkdir -p ~/.config/{niri,waybar,wofi,mako,alacritty,gtk-3.0,gtk-4.0,gtklock,fish} ~/.config/environment.d ~/.config/xdg-desktop-portal +mkdir -p ~/.config/{niri,waybar,wofi,mako,alacritty,gtk-3.0,gtk-4.0,fish} ~/.config/environment.d ~/.config/xdg-desktop-portal echo "==> Linking configs" @@ -40,8 +40,8 @@ default-timeout=4000 """ open(os.path.expanduser("~/.config/mako/config"), "w").write(config) PYEOF -ln -sf "$(pwd)/gtklock/config.ini" ~/.config/gtklock/config -ln -sf "$(pwd)/gtklock/style.css" ~/.config/gtklock/style.css +mkdir -p ~/.config/hypr +ln -sf "$(pwd)/hyprlock/hyprlock.conf" ~/.config/hypr/hyprlock.conf ln -sf "$(pwd)/fish/config.fish" ~/.config/fish/config.fish ln -sf "$(pwd)/starship/starship.toml" ~/.config/starship.toml ln -sf "$(pwd)/alacritty/alacritty.toml" ~/.config/alacritty/alacritty.toml diff --git a/packages.txt b/packages.txt index 26d73a0..23702b5 100644 --- a/packages.txt +++ b/packages.txt @@ -10,7 +10,7 @@ swappy wl-clipboard brightnessctl pamixer -gtklock +hyprlock swayidle ttf-jetbrains-mono-nerd polkit-gnome