Files
dotfiles/hypr/hyprlock.conf
T
2026-02-08 17:05:55 +07:00

246 lines
5.8 KiB
Plaintext

background {
monitor =
path = /home/tola/Pictures/wallpaper/joshua-sortino-xZqr8WtYEJ0-unsplash.jpg
color = rgba(25, 20, 20, 1.0)
blur_passes = 3
blur_size = 3
noise = 0.0117
contrast = 0.8916
brightness = 0.5
vibrancy = 0.0
vibrancy_darkness = 0.0
}
general {
no_fade_in = false
grace = 0
disable_loading_bar = false
ignore_empty_input = true
# hide_cursor = true
}
animations {
animation = fade, 1, 6, default
animation = fadeIn, 1, 6, default
animation = fadeOut, 1, 6, default
}
image {
monitor =
path = ~/dotfiles/hypr/pictures/user.jpeg
border_size = 2
border_color = rgba(255, 255, 255, 0)
size = 200
rounding = -1
rotate = 0
reload_time = -1
reload_cmd =
position = 0, 40
halign = center
valign = center
}
label {
monitor =
text = cmd[update:1000] echo "<span foreground='##ffffff'>$(date +"%A %d %B %Y")</span>"
color = rgba(200, 200, 200, 1.0)
font_size = 25
font_family = JetBrainsMonoNerd Font Mono Bold
position = 0, 350
halign = center
valign = center
}
label {
monitor =
text = cmd[update:1000] echo "<span foreground='##ffffff'>$(date +"%H:%M")</span>"
color = rgba(200, 200, 200, 1.0)
font_size = 120
font_family = JetBrainsMonoNerd Font Mono Bold
position = 0, 250
halign = center
valign = center
}
shape {
monitor =
size = 256, 48
color = rgba(0, 0, 0, 1)
rounding = -1
border_size = 0
border_color = rgba(0, 0, 0, 1)
rotate = 0
xray = false
position = 0, -130
halign = center
valign = center
}
label {
monitor =
text = cmd[update:1000] echo " $USER@$(hostname)"
color = rgba(216, 222, 233, 0.80)
#outline_thickness = 2
#dots_size = 0.2
#dots_spacing = 0.2
#dots_center = true
font_size = 18
font_family = JetBrainsMonoNerd Font Mono Bold
position = 0, -130
halign = center
valign = center
}
input-field {
monitor =
size = 256, 48
outline_thickness = 0
dots_size = 0.2
dots_spacing = 0.5
dots_center = true
outer_color = rgba(0, 0, 0, 0)
inner_color = rgba(0, 0, 0, 1)
font_color = rgb(200, 200, 200)
fade_on_empty = false
font_family = JetBrainsMonoNerd Font Mono Bold
placeholder_text = <i><span foreground="##ffffff99">Enter Pass</span></i>
hide_input = false
position = 0, -210
halign = center
valign = center
}
# label {
# monitor =
# text = cmd[update:1000] echo "$(~/dotfiles/hypr/bin/songdetail.sh)"
# color = rgba(255, 255, 255, 0.6)
# font_size = 18
# font_family = JetBrainsMonoNerd Font Mono Bold
# position = 0, 50
# halign = center
# valign = bottom
# }
#image {
# monitor =
# path = ~/dotfiles/hypr/pictures/music.webp
# size = 100
# rounding = 5
# burder_size = 3
# border_color = rgba(216, 222, 233, 0.70)
# rotate = 0
# reload_time = 2
# reload_cmd = ~/dotfiles/hypr/bin/hyprlock-music.sh --art
# position = 730, 57
# halign = left
# valign = bottom
# zindex = 1
#}
#shape {
# monitor =
# color = rgba(100, 114, 125, 0.4)
# size = 500, 140
# rounding = 10
# position = 0, 40
# halign = center
# valign = bottom
# zindex = 0
#}
#label {
# monitor =
# text = cmd[update:1000] echo "$(~/dotfiles/hypr/bin/hyprlock-music.sh --title)"
# color = rgba(216, 222, 233, 0.70)
# font_size = 16
# font_family = SF Pro Display Heavy
# position = 55, 138
# halign = center
# valign = bottom
# zindex = 1
#}
# Player source (e.g., Spotify, Firefox)
#label {
# monitor =
# text = cmd[update:1000] echo "$(~/dotfiles/hypr/bin/hyprlock-music.sh --player)"
# color = rgba(216, 222, 233, 0.70)
# font_size = 13
# font_family = SF Pro Display Bold
# position = 205, 45
# halign = center
# valign = bottom
# zindex = 1
#}
# Artist name
#label {
# monitor =
# text = cmd[update:1000] echo "󰠃 $(~/dotfiles/hypr/bin/hyprlock-music.sh --artist)"
# color = rgba(216, 222, 233, 0.70)
# font_size = 12
# font_family = SF Pro Display Semibold
# position = 55, 118
# halign = center
# valign = bottom
# zindex = 1
#}
# Previous track button
#label {
# monitor =
# text = 󰒮
# color = rgba(216, 222, 233, 0.70)
# font_size = 25
# onclick = playerctl previous
# position = -5, 55
# halign = center
# valign = bottom
#}
# Play/Pause button
#label {
# monitor =
# text = cmd[update:1000] ~/dotfiles/hypr/bin/hyprlock-music.sh --status
# color = rgba(216, 222, 233, 0.70)
# font_size = 25
# onclick = playerctl play-pause
# position = 55, 55
# halign = center
# valign = bottom
#}
# Next track button
#label {
# monitor =
# text = 󰒭
# color = rgba(216, 222, 233, 0.70)
# font_size = 25
# onclick = playerctl next
# position = 110, 55
# halign = center
# valign = bottom
#}
# Current position timestamp
#label {
# monitor =
# text = cmd[update:1000] echo "$(~/dotfiles/hypr/bin/hyprlock-music.sh --position)"
# color = rgba(216, 222, 233, 0.70)
# font_size = 10
# font_family = SF Pro Display Medium
# position = -100, 95
# halign = center
# valign = bottom
#}
# Total length timestamp
#label {
# monitor =
# text = cmd[update:1000] echo "$(~/dotfiles/hypr/bin/hyprlock-music.sh --length)"
# color = rgba(216, 222, 233, 0.70)
# font_size = 10
# font_family = SF Pro Display Medium
# position = 210, 95
# halign = center
# valign = bottom
#}
# Progress bar (with Pango markup for colored segments)
#label {
# monitor =
# text = cmd[update:1000] ~/dotfiles/hypr/bin/hyprlock-music.sh --progress-bar
# color = rgba(216, 222, 233, 0.70)
# font_size = 12
# font_family = SF Pro Display Medium
# position = 55, 95
# halign = center
# valign = bottom
#}