summaryrefslogtreecommitdiff
path: root/hyprlock
diff options
context:
space:
mode:
authorsubh <subh@example.com>2026-01-19 21:47:02 +0530
committersubh <subh@example.com>2026-01-19 21:47:02 +0530
commit65aad59ef0802708a8a7c8a312755232cc1823d3 (patch)
treefe0a437f3e9a71ab5b9197d9b8fa72c24d2170ea /hyprlock
initial commit
Diffstat (limited to 'hyprlock')
-rw-r--r--hyprlock/Fonts/JetBrains/JetBrains Mono Nerd.ttfbin0 -> 979356 bytes
-rwxr-xr-xhyprlock/Fonts/SF Pro Display/SF Pro Display Bold.otfbin0 -> 3203404 bytes
-rwxr-xr-xhyprlock/Fonts/SF Pro Display/SF Pro Display Regular.otfbin0 -> 3123592 bytes
-rwxr-xr-xhyprlock/Scripts/songdetail.sh5
-rw-r--r--hyprlock/cat.pngbin0 -> 335725 bytes
-rw-r--r--hyprlock/hyprlock.conf133
-rw-r--r--hyprlock/hyprlock.pngbin0 -> 22358833 bytes
7 files changed, 138 insertions, 0 deletions
diff --git a/hyprlock/Fonts/JetBrains/JetBrains Mono Nerd.ttf b/hyprlock/Fonts/JetBrains/JetBrains Mono Nerd.ttf
new file mode 100644
index 0000000..f9f0185
--- /dev/null
+++ b/hyprlock/Fonts/JetBrains/JetBrains Mono Nerd.ttf
Binary files differ
diff --git a/hyprlock/Fonts/SF Pro Display/SF Pro Display Bold.otf b/hyprlock/Fonts/SF Pro Display/SF Pro Display Bold.otf
new file mode 100755
index 0000000..ee79a7f
--- /dev/null
+++ b/hyprlock/Fonts/SF Pro Display/SF Pro Display Bold.otf
Binary files differ
diff --git a/hyprlock/Fonts/SF Pro Display/SF Pro Display Regular.otf b/hyprlock/Fonts/SF Pro Display/SF Pro Display Regular.otf
new file mode 100755
index 0000000..120603c
--- /dev/null
+++ b/hyprlock/Fonts/SF Pro Display/SF Pro Display Regular.otf
Binary files differ
diff --git a/hyprlock/Scripts/songdetail.sh b/hyprlock/Scripts/songdetail.sh
new file mode 100755
index 0000000..51745e6
--- /dev/null
+++ b/hyprlock/Scripts/songdetail.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+song_info=$(playerctl metadata --format '{{title}}  {{artist}}')
+
+echo "$song_info"
diff --git a/hyprlock/cat.png b/hyprlock/cat.png
new file mode 100644
index 0000000..0216f9a
--- /dev/null
+++ b/hyprlock/cat.png
Binary files differ
diff --git a/hyprlock/hyprlock.conf b/hyprlock/hyprlock.conf
new file mode 100644
index 0000000..86db17c
--- /dev/null
+++ b/hyprlock/hyprlock.conf
@@ -0,0 +1,133 @@
+# BACKGROUND
+background {
+ monitor =
+ path = ~/.config/hyprlock/hyprlock.png
+ blur_passes = 0
+ contrast = 0.8916
+ brightness = 0.8172
+ vibrancy = 0.1696
+ vibrancy_darkness = 0.0
+}
+
+# GENERAL
+general {
+ no_fade_in = false
+ grace = 0
+ disable_loading_bar = false
+}
+
+# GREETINGS
+label {
+ monitor =
+ text = cmd[update:1000] $(date +%H); if ((h<12)); then echo "Good morning!"; elif ((h<17)); then echo "Good afternoon!"; else echo "Good evening!"; fi
+ color = rgba(216, 222, 233, .75)
+ font_size = 55
+ font_family = SF Pro Display Bold
+ position = 150, 320
+ halign = left
+ valign = center
+}
+
+# Time
+label {
+ monitor =
+ text = cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"
+ color = rgba(216, 222, 233, .75)
+ font_size = 40
+ font_family = SF Pro Display Bold
+ position = 150, 240
+ halign = left
+ valign = center
+}
+
+# Day-Month-Date
+label {
+ monitor =
+ text = cmd[update:1000] echo -e "$(date +"%A, %B %d")"
+ color = rgba(216, 222, 233, .75)
+ font_size = 19
+ font_family = SF Pro Display Bold
+ position = 150, 175
+ halign = left
+ valign = center
+}
+
+# Profie-Photo
+image {
+ monitor =
+ path = ~/.config/hyprlock/cat.png
+ border_size = 2
+ border_color = rgba(255, 255, 255, .75)
+ size = 95
+ rounding = -1
+ rotate = 0
+ reload_time = -1
+ reload_cmd =
+ position = 270, 25
+ halign = left
+ valign = center
+}
+
+# USER-BOX
+shape {
+ monitor =
+ size = 320, 55
+ color = rgba(255, 255, 255, .1)
+ rounding = -1
+ border_size = 0
+ border_color = rgba(255, 255, 255, 1)
+ rotate = 0
+ xray = false # if true, make a "hole" in the background (rectangle of specified size, no rotation)
+
+ position = 160, -140
+ halign = left
+ valign = center
+}
+
+# USER
+label {
+ monitor =
+ text =  $USER
+ color = rgba(216, 222, 233, 0.80)
+ outline_thickness = 0
+ dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
+ dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
+ dots_center = true
+ font_size = 16
+ font_family = SF Pro Display Bold
+ position = 275, -140
+ halign = left
+ valign = center
+}
+
+# INPUT FIELD
+input-field {
+ monitor =
+ size = 320, 55
+ outline_thickness = 0
+ dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
+ dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
+ dots_center = true
+ outer_color = rgba(255, 255, 255, 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 = 160, -220
+ halign = left
+ valign = center
+}
+
+# CURRENT SONG
+label {
+ monitor =
+ text = cmd[update:1000] echo "$(~/.config/hypr/Style-1/Scripts/songdetail.sh)"
+ color = rgba(255, 255, 255, 0.65)
+ font_size = 14
+ font_family = JetBrains Mono Nerd, SF Pro Display Bold
+ position = 210, 45
+ halign = left
+ valign = bottom
+}
diff --git a/hyprlock/hyprlock.png b/hyprlock/hyprlock.png
new file mode 100644
index 0000000..d97b4bb
--- /dev/null
+++ b/hyprlock/hyprlock.png
Binary files differ