deleted music player from hyprlock

This commit is contained in:
wt
2026-02-08 17:05:55 +07:00
parent 209b0a5b9b
commit 971bd738f7
+119 -119
View File
@@ -1,6 +1,6 @@
background {
monitor =
path = /home/tola/Pictures/wallpaper/johannes-plenio-hvrpOmuMrAI-unsplash.jpg
path = /home/tola/Pictures/wallpaper/joshua-sortino-xZqr8WtYEJ0-unsplash.jpg
color = rgba(25, 20, 20, 1.0)
blur_passes = 3
blur_size = 3
@@ -111,135 +111,135 @@ input-field {
# 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
}
#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
}
#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
}
#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
}
#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
}
#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
}
#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
}
#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
}
#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
}
#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
#}