From a955157b7d421fc5638796383a2c4d67eeabcb93 Mon Sep 17 00:00:00 2001 From: Szymon P Date: Tue, 27 May 2025 18:23:11 +0200 Subject: [PATCH] Update .config/hypr/hyprland.conf Update .config/hypr/hyprlock.conf --- private_dot_config/hypr/hyprland.conf | 1 + private_dot_config/hypr/hyprlock.conf | 120 +++++++++++++++++++++----- 2 files changed, 101 insertions(+), 20 deletions(-) diff --git a/private_dot_config/hypr/hyprland.conf b/private_dot_config/hypr/hyprland.conf index 417f4c6..670f310 100644 --- a/private_dot_config/hypr/hyprland.conf +++ b/private_dot_config/hypr/hyprland.conf @@ -32,3 +32,4 @@ source = ./hyprland/layouts.conf source = ./hyprland/workspaces.conf source = ./hyprland/exec.conf source = ./hyprland/monitors.conf +exec-once = hyprlock diff --git a/private_dot_config/hypr/hyprlock.conf b/private_dot_config/hypr/hyprlock.conf index 9ce38e7..1394887 100644 --- a/private_dot_config/hypr/hyprlock.conf +++ b/private_dot_config/hypr/hyprlock.conf @@ -3,30 +3,110 @@ general { } background { - monitor = - # color = black - path = /home/szymon/Obrazy/tapety/jebac_parlament.jpg + monitor = DP-1 + path = ~/Obrazy/tapety/sfw/czerwone_kobita.jpg + blur_passes = 2 } +background { + monitor = DP-2 + path = ~/Obrazy/tapety/sfw/drzewo.jpg + blur_passes = 2 +} + +background { + monitor = HDMI-A-2 + path = ~/Obrazy/tapety/sfw/pustynia.jpg + blur_passes = 2 +} + + input-field { - monitor = - size = 200, 50 - outline_thickness = 3 - rounding = -1 - halign = center - valign = center - color = white + monitor = DP-1 + size = 20%, 5% + outline_thickness = 3 + inner_color = rgba(0, 0, 0, 0.0) # no fill + + outer_color = rgba(33ccffee) rgba(00ff99ee) 45deg + check_color = rgba(00ff99ee) rgba(ff6633ee) 120deg + fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg + + font_color = rgb(143, 143, 143) + fade_on_empty = true + rounding = 15 + + 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.3 + + # uncomment to use an input indicator that does not show the password length (similar to swaylock's input indicator) + # hide_input = true + + position = 0, -20 + halign = center + valign = center } +# TIME label { - monitor = - text = Aktualna godzina: $TIME - text_align = center - color = white - font_size = 25 - font_family = Noto Sans - position = 0, 80 - halign = center - valign = center - shadow_passes =1 + monitor = DP-1 + text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution + font_size = 90 + font_family = $font + + position = -30, 0 + halign = right + valign = top +} + +# DATE + +label { + monitor = DP-1 + text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds + font_size = 25 + font_family = $font + + position = -30, -150 + halign = right + valign = top +} + +# TV + +# TIME + +label { + monitor = HDMI-A-2 + text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution + font_size = 90 + font_family = $font + + position = -30, 0 +} + +# DATE + +label { + monitor = HDMI-A-2 + text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds + font_size = 25 + font_family = $font + + position = -30, -150 +} + + +# USER + +label { + monitor = DP-1 + text_align = left + text = Zalogowano jako: $USER + position = 30, 150 }