changed hyprlock.conf and added songdetail.sh and hyprlock-background.sh scripts
This commit is contained in:
1 parent
b362315781
commit
c79e1970a9
3 files changed
+69
-33
No files matched your search
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
ls ~/Pictures/wallpaper/*.png | shuf -n 1
|
||||
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
song_info=$(playerctl metadata --format '{{title}} {{artist}}')
|
||||
|
||||
echo "$song_info"
|
||||
+60
-33
@@ -16,44 +16,71 @@ background {
|
||||
vibrancy_darkness = 0.0
|
||||
}
|
||||
|
||||
input-field {
|
||||
label {
|
||||
monitor =
|
||||
size = 200, 50
|
||||
outline_thickness = 1
|
||||
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 = SF Pro Display Bold
|
||||
position = 0, 350
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<span foreground='##ffffff'>$(date +"%I:%M")</span>"
|
||||
color = rgba(200, 200, 200, 1.0)
|
||||
font_size = 120
|
||||
font_family = SF Pro Display Bold
|
||||
position = 0, 250
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = $USER
|
||||
color = rgba(216, 222, 233, 0.80)
|
||||
outline_thickness = 2
|
||||
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_spacing = 0.2 # Scale of dots absolute size, 0.0 - 1.0
|
||||
dots_center = true
|
||||
outer_color = rgb(000000)
|
||||
inner_color = rgb(200, 200, 200)
|
||||
fade_on_empty = false
|
||||
font_color = rgb(000000)
|
||||
color = rgb(000000)
|
||||
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
|
||||
hide_input = false
|
||||
position = 0, -50
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<span foreground='##fff333'>$(date +"%X")</span>"
|
||||
color = rgba(200, 200, 200, 1.0)
|
||||
font_size = 60
|
||||
font_family = Noto Sans
|
||||
position = 0, 150
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<span foreground='##fff333'>$(date +"%A %d %B %Y")</span>"
|
||||
color = rgba(200, 200, 200, 1.0)
|
||||
font_size = 18
|
||||
font_family = Noto Sans
|
||||
position = 0, 100
|
||||
font_family = SF Pro Display Bold
|
||||
position = 0, -130
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
input-field {
|
||||
monitor =
|
||||
size = 300, 60
|
||||
outline_thickness = 2
|
||||
dots_size = 0.2
|
||||
dots_spacing = 0.2
|
||||
dots_center = true
|
||||
outer_color = rgba(0, 0, 0, 0)
|
||||
inner_color = rgba(255, 255, 255, 0.1)
|
||||
font_color = rgb(200, 200, 200)
|
||||
fade_on_empty = false
|
||||
font_family = SF Pro Display 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 = JetBrains Mono Nerd, SF Pro Display Bold
|
||||
position = 0, 50
|
||||
halign = center
|
||||
valign = bottom
|
||||
}
|
||||
|
||||
# ------------------------------------------------------
|
||||
Reference in new issue
Block a user