| 1 | source = $HOME/.config/hypr/mocha.conf |
| 2 | |
| 3 | $accent = $mauve |
| 4 | $accentAlpha = $mauveAlpha |
| 5 | $font = Fira Code |
| 6 | |
| 7 | # GENERAL |
| 8 | general { |
| 9 | hide_cursor = true |
| 10 | } |
| 11 | |
| 12 | # BACKGROUND |
| 13 | background { |
| 14 | monitor = |
| 15 | path = $HOME/.config/background |
| 16 | blur_passes = 0 |
| 17 | color = $base |
| 18 | } |
| 19 | |
| 20 | # LAYOUT |
| 21 | label { |
| 22 | monitor = |
| 23 | text = Layout: $LAYOUT |
| 24 | color = $text |
| 25 | font_size = 25 |
| 26 | font_family = $font |
| 27 | position = 30, -30 |
| 28 | halign = left |
| 29 | valign = top |
| 30 | } |
| 31 | |
| 32 | # TIME |
| 33 | label { |
| 34 | monitor = |
| 35 | text = $TIME |
| 36 | color = $text |
| 37 | font_size = 90 |
| 38 | font_family = $font |
| 39 | position = -30, 0 |
| 40 | halign = right |
| 41 | valign = top |
| 42 | } |
| 43 | |
| 44 | # DATE |
| 45 | label { |
| 46 | monitor = |
| 47 | text = cmd[update:43200000] date +"%A, %d %B %Y" |
| 48 | color = $text |
| 49 | font_size = 25 |
| 50 | font_family = $font |
| 51 | position = -30, -150 |
| 52 | halign = right |
| 53 | valign = top |
| 54 | } |
| 55 | |
| 56 | # FINGERPRINT |
| 57 | { |
| 58 | monitor = ""; |
| 59 | text = "$FPRINTPROMPT"; |
| 60 | color = "$text"; |
| 61 | font_size = 14; |
| 62 | font_family = $font; |
| 63 | position = "0, -107"; |
| 64 | halign = "center"; |
| 65 | valign = "center"; |
| 66 | } |
| 67 | |
| 68 | # USER AVATAR |
| 69 | image { |
| 70 | monitor = |
| 71 | path = $HOME/.face |
| 72 | size = 100 |
| 73 | border_color = $accent |
| 74 | position = 0, 75 |
| 75 | halign = center |
| 76 | valign = center |
| 77 | } |
| 78 | |
| 79 | # INPUT FIELD |
| 80 | input-field { |
| 81 | monitor = |
| 82 | size = 300, 60 |
| 83 | outline_thickness = 4 |
| 84 | dots_size = 0.2 |
| 85 | dots_spacing = 0.2 |
| 86 | dots_center = true |
| 87 | outer_color = $accent |
| 88 | inner_color = $surface0 |
| 89 | font_color = $text |
| 90 | fade_on_empty = false |
| 91 | placeholder_text = <span foreground="##$textAlpha"><i> Logged in as </i><span foreground="##$accentAlpha">$USER</span></span> |
| 92 | hide_input = false |
| 93 | check_color = $accent |
| 94 | fail_color = $red |
| 95 | fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> |
| 96 | capslock_color = $yellow |
| 97 | position = 0, -47 |
| 98 | halign = center |
| 99 | valign = center |
| 100 | } |