irongit
hygoland/hyprlock-1080p.conf
160 lines4.1 KB
1# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
2# Hyprlock config for < 1080p 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 = 2 # 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
36# label {
37# monitor =
38# text = cmd[update:18000000] echo "<b> "$(date +'%A, %-d %B')" </b>"
39# color = $color13
40# font_size = 16
41# font_family = Victor Mono Bold Italic
42# position = 0, -20
43# halign = center
44# valign = center
45# }
46
47# Hour-Time
48label {
49 monitor =
50 text = cmd[update:1000] echo "$(date +"%H")"
51# text = cmd[update:1000] echo "$(date +"%I")" #AM/PM
52 #color = rgba(255, 185, 0, .8)
53 color = $color13
54 font_size = 200
55 font_family = JetBrainsMono Nerd Font ExtraBold
56 position = 0, -60
57 halign = center
58 valign = top
59}
60
61# Minute-Time
62label {
63 monitor =
64 text = cmd[update:1000] echo "$(date +"%M")"
65 #color = rgba(15, 10, 222, .8)
66 color = $color12
67 font_size = 200
68 font_family = JetBrainsMono Nerd Font ExtraBold
69 position = 0, -320
70 halign = center
71 valign = top
72}
73
74# Seconds-Time
75label {
76 monitor =
77 text = cmd[update:1000] echo "$(date +"%S")"
78# text = cmd[update:1000] echo "$(date +"%S %p")" #AM/PM
79 color = $color11
80 font_size = 35
81 font_family = JetBrainsMono Nerd Font ExtraBold
82 position = 0, -350
83 halign = center
84 valign = top
85}
86
87# Put a picture of choice here. Default is the current wallpaper
88#image {
89# monitor =
90# path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current
91# size = 160
92# rounding = -1
93# border_size = 0
94# border_color = $color11
95# rotate = 0
96# reload_time = -1
97# position = 0, 280
98# halign = center
99# valign = bottom
100}
101
102# USER
103label {
104 monitor =
105 text =  $USER
106 color = $color13
107 font_size = 24
108 font_family = Victor Mono Bold Oblique
109 position = 0, 150
110 halign = center
111 valign = bottom
112}
113
114
115# INPUT FIELD
116input-field {
117 monitor =
118 size = 300, 60
119 outline_thickness = 2
120 dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
121 dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
122 dots_center = true
123 outer_color = $color11
124 inner_color = rgba(255, 255, 255, 0.1)
125 capslock_color = rgb(255,255,255)
126 font_color = $color13
127 fade_on_empty = false
128 font_family = Victor Mono Bold Oblique
129 placeholder_text = <i><span foreground="##ffffff99">🔒 Type Password</span></i>
130 hide_input = false
131 position = 0, 50
132 halign = center
133 valign = bottom
134}
135
136# uptime
137label {
138 monitor =
139 text = cmd[update:60000] echo "<b> "$(uptime -p || $Scripts/UptimeNixOS.sh)" </b>"
140 color = $color13
141 font_size = 16
142 font_family = Victor Mono Bold Oblique
143 position = 0, 0
144 halign = right
145 valign = bottom
146}
147
148# weather edit the scripts for locations
149# weather scripts are located in ~/.config/hypr/UserScripts Weather.sh and/or Weather.py
150# see https://github.com/JaKooLit/Hyprland-Dots/wiki/TIPS#%EF%B8%8F-weather-app-related-for-waybar-and-hyprlock
151label {
152 monitor =
153 text = cmd[update:3600000] [ -f "$HOME/.cache/.weather_cache" ] && cat "$HOME/.cache/.weather_cache"
154 color = $color13
155 font_size = 16
156 font_family = Victor Mono Bold Oblique
157 position = 50, 0
158 halign = left
159 valign = bottom
160}