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