From 363ac98c8be572e49f8c638dbc047d492c83e5d3 Mon Sep 17 00:00:00 2001 From: Szymon P Date: Sun, 5 Oct 2025 13:10:35 +0200 Subject: [PATCH] Update .config/hypr/hyprland/exec.conf Update .config/hypr/hyprlock.conf --- private_dot_config/hypr/hyprland/exec.conf | 2 - private_dot_config/hypr/hyprlock.conf | 98 ++++++++++------------ 2 files changed, 46 insertions(+), 54 deletions(-) diff --git a/private_dot_config/hypr/hyprland/exec.conf b/private_dot_config/hypr/hyprland/exec.conf index 24b7066..a5b44ae 100644 --- a/private_dot_config/hypr/hyprland/exec.conf +++ b/private_dot_config/hypr/hyprland/exec.conf @@ -2,9 +2,7 @@ exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type image --watch cliphist store exec-once = uwsm app -- zen-browser -exec-once = uwsm app -- mangohud steam exec-once = uwsm app -- kdeconnect-indicator exec-once = uwsm app -- waybar -exec-once = uwsm app -- hyprpaper exec-once = openrgb -c white exec-shutdown = openrgb -c black diff --git a/private_dot_config/hypr/hyprlock.conf b/private_dot_config/hypr/hyprlock.conf index 1394887..94b887e 100644 --- a/private_dot_config/hypr/hyprlock.conf +++ b/private_dot_config/hypr/hyprlock.conf @@ -1,28 +1,46 @@ +# sample hyprlock.conf +# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock +# +# rendered text in all widgets supports pango markup (e.g. or tags) +# ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#general-remarks +# +# shortcuts to clear password buffer: ESC, Ctrl+U, Ctrl+Backspace +# +# you can get started by copying this config to ~/.config/hypr/hyprlock.conf +# + +$font = Monospace + general { - ignore_empty_input = 1 + hide_cursor = false +} + +# uncomment to enable fingerprint authentication +# auth { +# fingerprint { +# enabled = true +# ready_message = Scan fingerprint to unlock +# present_message = Scanning... +# retry_delay = 250 # in milliseconds +# } +# } + +animations { + enabled = true + bezier = linear, 1, 1, 0, 0 + animation = fadeIn, 1, 5, linear + animation = fadeOut, 1, 5, linear + animation = inputFieldDots, 1, 2, linear } background { - monitor = DP-1 - path = ~/Obrazy/tapety/sfw/czerwone_kobita.jpg - blur_passes = 2 + monitor = + path = screenshot + blur_passes = 3 } -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 = DP-1 + monitor = size = 20%, 5% outline_thickness = 3 inner_color = rgba(0, 0, 0, 0.0) # no fill @@ -32,7 +50,7 @@ input-field { fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg font_color = rgb(143, 143, 143) - fade_on_empty = true + fade_on_empty = false rounding = 15 font_family = $font @@ -54,7 +72,7 @@ input-field { # TIME label { - monitor = DP-1 + monitor = text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution font_size = 90 font_family = $font @@ -65,9 +83,8 @@ label { } # DATE - label { - monitor = DP-1 + monitor = text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds font_size = 25 font_family = $font @@ -77,36 +94,13 @@ label { 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 + monitor = + text = $LAYOUT[en,ru] + font_size = 24 + onclick = hyprctl switchxkblayout all next - 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 + position = 250, -20 + halign = center + valign = center }