|
| 1 | +# By: Mahaveer Gurjar https://github.com/mahaveergurjar/Hyprlock-Dots/blob/main/.config/hyprlock/layouts/layout17.conf |
| 2 | +# Modified by: The HyDE Project |
| 3 | + |
| 4 | +# GENERAL |
| 5 | +general { |
| 6 | + no_fade_in = true |
| 7 | + no_fade_out = true |
| 8 | + disable_loading_bar = false |
| 9 | + hide_cursor = true |
| 10 | + immediate_render = true |
| 11 | +} |
| 12 | + |
| 13 | +# BACKGROUND |
| 14 | +background { |
| 15 | + monitor = |
| 16 | + color = rgb(0, 0, 0) |
| 17 | + blur_passes = 1 |
| 18 | + contrast = 0.8916 |
| 19 | + brightness = 0.8172 |
| 20 | + vibrancy = 0.8916 |
| 21 | + vibrancy_darkness = 0.0 |
| 22 | +} |
| 23 | + |
| 24 | +# Date-Time Label (centered horizonty, ~30% from top) |
| 25 | +label { |
| 26 | + monitor = |
| 27 | + text = cmd[update:1000] echo -e "$(date +"%A, %B %d - %I:%M %p")" |
| 28 | + color = rgb(200, 200, 200) |
| 29 | + font_size = 15 |
| 30 | + position = 0, 45% # 35% above vertical center |
| 31 | + halign = center |
| 32 | + valign = center |
| 33 | +} |
| 34 | + |
| 35 | +# User-Box (below authenticate box, relative to center) |
| 36 | +shape { |
| 37 | + monitor = |
| 38 | + size = 35%, 10% |
| 39 | + color = rgba(0, 0, 0, 0) |
| 40 | + rounding = 0 |
| 41 | + border_size = 2 |
| 42 | + border_color = rgba(255, 255, 255, 1) |
| 43 | + rotate = 0 |
| 44 | + position = 0, 0 |
| 45 | + halign = center |
| 46 | + valign = center |
| 47 | +} |
| 48 | + |
| 49 | + |
| 50 | +# Authenticate Box (centered) |
| 51 | +shape { |
| 52 | + monitor = |
| 53 | + size = 11%, 3% |
| 54 | + color = rgb(0, 0, 0) |
| 55 | + rounding = 0 |
| 56 | + border_size = 2 |
| 57 | + border_color = rgb(0, 0, 0) |
| 58 | + rotate = 0 |
| 59 | + position = -8%, 5% |
| 60 | + halign = center |
| 61 | + valign = center |
| 62 | + zindex = 5 |
| 63 | +} |
| 64 | + |
| 65 | + |
| 66 | +# Authenticate Message |
| 67 | +label { |
| 68 | + monitor = |
| 69 | + text = cmd[] source /etc/os-release ; echo "Authenticate into ${PRETTY_NAME:-$NAME}" |
| 70 | + color = rgba(216, 222, 233, 0.80) |
| 71 | + font_size = 11 |
| 72 | + position = -8%, 5% |
| 73 | + halign = center |
| 74 | + valign = center |
| 75 | + zindex = 5 |
| 76 | +} |
| 77 | + |
| 78 | +# Username Label |
| 79 | +label { |
| 80 | + monitor = |
| 81 | + text = <b>Username: $USER</b> |
| 82 | + color = rgba(216, 222, 233, 0.80) |
| 83 | + font_size = 11 |
| 84 | + position = 34%, 2% |
| 85 | + halign = left |
| 86 | + valign = center |
| 87 | + zindex = 1 |
| 88 | +} |
| 89 | + |
| 90 | +# Password Label |
| 91 | +label { |
| 92 | + monitor = |
| 93 | + text = <b>Password:</b> |
| 94 | + color = rgba(216, 222, 233, 0.80) |
| 95 | + font_size = 11 |
| 96 | + position = 34%, -1% |
| 97 | + halign = left |
| 98 | + valign = center |
| 99 | + zindex = 5 |
| 100 | +} |
| 101 | + |
| 102 | +# Input Field (right aligned, relative to Password) |
| 103 | +input-field { |
| 104 | + monitor = |
| 105 | + size = 15%, 5% |
| 106 | + outline_thickness = -1 |
| 107 | + dots_size = 0.2 |
| 108 | + dots_spacing = 0.2 |
| 109 | + dots_center = false |
| 110 | + outer_color = rgba(0, 0, 0, 0) |
| 111 | + inner_color = rgba(0, 0, 0, 0) |
| 112 | + font_color = rgb(255, 255, 255) |
| 113 | + fade_on_empty = false |
| 114 | + placeholder_text = |
| 115 | + hide_input = false |
| 116 | + position = 38.4%, -1% |
| 117 | + halign = left |
| 118 | + valign = center |
| 119 | +} |
| 120 | + |
| 121 | +# Battery Icon (bottom left) |
| 122 | +label { |
| 123 | + monitor = |
| 124 | + text = cmd[update:5000] $BATTERY_ICON |
| 125 | + color = rgb(255, 255, 255) |
| 126 | + font_size = 20 |
| 127 | + font_family = JetBrains Mono Nerd Font Mono ExtraBold |
| 128 | + position = 1%, 1% |
| 129 | + halign = left |
| 130 | + valign = bottom |
| 131 | + zindex = 5 |
| 132 | +} |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | +# Weather (next to battery) |
| 137 | +label { |
| 138 | + monitor = |
| 139 | + text = cmd[update:18000000] $WEATHER_CMD |
| 140 | + color = rgb(255, 255, 255) |
| 141 | + font_size = 10 |
| 142 | + font_family = JetBrains Mono Nerd Font Mono ExtraBold |
| 143 | + position = 3%, 1.5% |
| 144 | + halign = left |
| 145 | + valign = bottom |
| 146 | + zindex = 5 |
| 147 | +} |
| 148 | + |
| 149 | +# Layout |
| 150 | +label { |
| 151 | + monitor = |
| 152 | + text = $LAYOUT |
| 153 | + color = rgb(255, 255, 255) |
| 154 | + font_size = 10 |
| 155 | + font_family = JetBrains Mono Nerd Font Mono ExtraBold |
| 156 | + position = 0%, 1.5% |
| 157 | + halign = right |
| 158 | + valign = bottom |
| 159 | + zindex = 5 |
| 160 | +} |
0 commit comments