irongit
hygoland/hyprlock.conf
157 lines4.0 KB
1# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
2# Hyprlock config for => 2k monitor resolutions
3# Original config submitted by https://github.com/SherLock707
4
5# Sourcing colors generated by wallust
6source = $HOME/.config/hypr/wallust/wallust-hyprland.conf
7$Scripts = $HOME/.config/hypr/scripts
8
9general {
10 grace = 1
11 fractional_scaling = 2
12 immediate_render = true
13}
14
15background {
16 monitor =
17 # NOTE: use only 1 path
18 path = screenshot # screenshot of your desktop
19 # path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_modified # by wallpaper effects
20 # path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current # current wallpaper
21
22 color = rgb(0,0,0) # color will be rendered initially until path is available
23
24 # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
25 blur_size = 3
26 blur_passes = 3 # 0 disables blurring
27 noise = 0.0117
28 contrast = 1.3000 # Vibrant!!!
29 brightness = 0.8000
30 vibrancy = 0.2100
31 vibrancy_darkness = 0.0
32}
33
34
35# Date
36label {
37 monitor =
38 text = cmd[update:18000000] echo "<b> "$(date +'%A, %-d %B')" </b>"
39 color = $color13
40 font_size = 42
41 font_family = Victor Mono Bold
42 position = 0, 400
43 halign = center
44 valign = center
45}
46
47# Hour-Time
48label {
49 monitor =
50 text = cmd[update:1000] echo "$(date +"%I")" #AM/PM
51 color = $color13
52 font_size = 240
53 font_family = JetBrainsMono Nerd Font ExtraBold
54 position = 0, -100
55 halign = center
56 valign = top
57}
58
59# Minute-Time
60label {
61 monitor =
62 text = cmd[update:1000] echo "$(date +"%M")"
63 color = $color13
64 font_size = 240
65 font_family = JetBrainsMono Nerd Font ExtraBold
66 position = 0, -450
67 halign = center
68 valign = top
69}
70
71# Seconds-Time
72label {
73 monitor =
74# text = cmd[update:1000] echo "$(date +"%S")"
75 text = cmd[update:1000] echo "$(date +"%S %p")" #AM/PM
76 color = $color11
77 font_size = 50
78 font_family = JetBrainsMono Nerd Font ExtraBold
79 position = 0, -450
80 halign = center
81 valign = top
82}
83
84# Put a picture of choice here. Default is the current wallpaper
85#image {
86# monitor =
87# #path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current
88# size = 160
89# rounding = -1
90# border_size = 0
91# border_color = $color11
92# rotate = 0
93# reload_time = -1
94# position = 0, 400
95# halign = center
96# valign = bottom
97#}
98
99# USER
100label {
101 monitor =
102 text =  $USER
103 color = $color13
104 font_size = 24
105 font_family = Victor Mono Bold Oblique
106 position = 0, 200
107 halign = center
108 valign = bottom
109}
110
111
112# INPUT FIELD
113input-field {
114 monitor =
115 size = 300, 60
116 outline_thickness = 2
117 dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
118 dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
119 dots_center = true
120 outer_color = $color11
121 inner_color = rgba(255, 255, 255, 0.1)
122 font_color = $color13
123 capslock_color = rgb(255,255,255)
124 fade_on_empty = false
125 font_family = Victor Mono Bold Oblique
126 placeholder_text = <i><span foreground="##ffffff99">🔒 Type Password</span></i>
127 hide_input = false
128 position = 0, 100
129 halign = center
130 valign = bottom
131}
132
133# uptime
134label {
135 monitor =
136 text = cmd[update:60000] echo "<b> "$(uptime -p || $Scripts/UptimeNixOS.sh)" </b>"
137 color = $color13
138 font_size = 18
139 font_family = Victor Mono Bold Oblique
140 position = 0, 15
141 halign = right
142 valign = bottom
143}
144
145# weather edit the scripts for locations
146# weather scripts are located in ~/.config/hypr/UserScripts Weather.sh and/or Weather.py
147# see https://github.com/JaKooLit/Hyprland-Dots/wiki/TIPS#%EF%B8%8F-weather-app-related-for-waybar-and-hyprlock
148label {
149 monitor =
150 text = cmd[update:3600000] [ -f "$HOME/.cache/.weather_cache" ] && cat "$HOME/.cache/.weather_cache"
151 color = $color13
152 font_size = 18
153 font_family = Victor Mono Bold Oblique
154 position = 10, 15
155 halign = left
156 valign = bottom
157}