Update .config/hypr/hyprland/exec.conf

Update .config/hypr/hyprlock.conf
This commit is contained in:
2025-10-05 13:10:35 +02:00
parent 936a516cee
commit 363ac98c8b
2 changed files with 46 additions and 54 deletions

View File

@@ -2,9 +2,7 @@ exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store exec-once = wl-paste --type image --watch cliphist store
exec-once = uwsm app -- zen-browser exec-once = uwsm app -- zen-browser
exec-once = uwsm app -- mangohud steam
exec-once = uwsm app -- kdeconnect-indicator exec-once = uwsm app -- kdeconnect-indicator
exec-once = uwsm app -- waybar exec-once = uwsm app -- waybar
exec-once = uwsm app -- hyprpaper
exec-once = openrgb -c white exec-once = openrgb -c white
exec-shutdown = openrgb -c black exec-shutdown = openrgb -c black

View File

@@ -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. <b> or <i> 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 { 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 { background {
monitor = DP-1 monitor =
path = ~/Obrazy/tapety/sfw/czerwone_kobita.jpg path = screenshot
blur_passes = 2 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 { input-field {
monitor = DP-1 monitor =
size = 20%, 5% size = 20%, 5%
outline_thickness = 3 outline_thickness = 3
inner_color = rgba(0, 0, 0, 0.0) # no fill inner_color = rgba(0, 0, 0, 0.0) # no fill
@@ -32,7 +50,7 @@ input-field {
fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg
font_color = rgb(143, 143, 143) font_color = rgb(143, 143, 143)
fade_on_empty = true fade_on_empty = false
rounding = 15 rounding = 15
font_family = $font font_family = $font
@@ -54,7 +72,7 @@ input-field {
# TIME # TIME
label { label {
monitor = DP-1 monitor =
text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution
font_size = 90 font_size = 90
font_family = $font font_family = $font
@@ -65,9 +83,8 @@ label {
} }
# DATE # DATE
label { label {
monitor = DP-1 monitor =
text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds
font_size = 25 font_size = 25
font_family = $font font_family = $font
@@ -77,36 +94,13 @@ label {
valign = top valign = top
} }
# TV
# TIME
label { label {
monitor = HDMI-A-2 monitor =
text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution text = $LAYOUT[en,ru]
font_size = 90 font_size = 24
font_family = $font onclick = hyprctl switchxkblayout all next
position = -30, 0 position = 250, -20
} halign = center
valign = center
# 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
} }