diff options
| author | subh <subh@example.com> | 2026-01-19 21:47:02 +0530 |
|---|---|---|
| committer | subh <subh@example.com> | 2026-01-19 21:47:02 +0530 |
| commit | 65aad59ef0802708a8a7c8a312755232cc1823d3 (patch) | |
| tree | fe0a437f3e9a71ab5b9197d9b8fa72c24d2170ea /hyprlock | |
initial commit
Diffstat (limited to 'hyprlock')
| -rw-r--r-- | hyprlock/Fonts/JetBrains/JetBrains Mono Nerd.ttf | bin | 0 -> 979356 bytes | |||
| -rwxr-xr-x | hyprlock/Fonts/SF Pro Display/SF Pro Display Bold.otf | bin | 0 -> 3203404 bytes | |||
| -rwxr-xr-x | hyprlock/Fonts/SF Pro Display/SF Pro Display Regular.otf | bin | 0 -> 3123592 bytes | |||
| -rwxr-xr-x | hyprlock/Scripts/songdetail.sh | 5 | ||||
| -rw-r--r-- | hyprlock/cat.png | bin | 0 -> 335725 bytes | |||
| -rw-r--r-- | hyprlock/hyprlock.conf | 133 | ||||
| -rw-r--r-- | hyprlock/hyprlock.png | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..f9f0185 --- /dev/null +++ b/hyprlock/Fonts/JetBrains/JetBrains Mono Nerd.ttf diff --git a/hyprlock/Fonts/SF Pro Display/SF Pro Display Bold.otf b/hyprlock/Fonts/SF Pro Display/SF Pro Display Bold.otf Binary files differnew file mode 100755 index 0000000..ee79a7f --- /dev/null +++ b/hyprlock/Fonts/SF Pro Display/SF Pro Display Bold.otf diff --git a/hyprlock/Fonts/SF Pro Display/SF Pro Display Regular.otf b/hyprlock/Fonts/SF Pro Display/SF Pro Display Regular.otf Binary files differnew file mode 100755 index 0000000..120603c --- /dev/null +++ b/hyprlock/Fonts/SF Pro Display/SF Pro Display Regular.otf 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 Binary files differnew file mode 100644 index 0000000..0216f9a --- /dev/null +++ b/hyprlock/cat.png 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 Binary files differnew file mode 100644 index 0000000..d97b4bb --- /dev/null +++ b/hyprlock/hyprlock.png |
