updated hyprlock
This commit is contained in:
1 parent
a86ca3deeb
commit
2e47a60f15
4 files changed
+567
-7
No files matched your search
+145
-6
@@ -1,6 +1,6 @@
|
||||
background {
|
||||
monitor =
|
||||
path = /home/tola/Pictures/wallpaper/3d-tech.png
|
||||
path = /home/tola/Pictures/wallpaper/johannes-plenio-hvrpOmuMrAI-unsplash.jpg
|
||||
color = rgba(25, 20, 20, 1.0)
|
||||
blur_passes = 3
|
||||
blur_size = 3
|
||||
@@ -14,6 +14,13 @@ 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 =
|
||||
@@ -94,13 +101,145 @@ input-field {
|
||||
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/songdetail.sh)"
|
||||
color = rgba(255, 255, 255, 0.6)
|
||||
font_size = 18
|
||||
font_family = JetBrainsMonoNerd Font Mono Bold
|
||||
position = 0, 50
|
||||
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
|
||||
}
|
||||
Reference in new issue
Block a user