From 5cc4901b0ce90279d7ab1abddc8f991b6343e362 Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Mon, 31 Mar 2025 22:24:01 -0400 Subject: [PATCH] hyprlock theme --- hypr/hyprlock.conf | 129 +++++++++++++++++++++++++++++---------------- hypr/mocha.conf | 78 +++++++++++++++++++++++++++ 2 files changed, 161 insertions(+), 46 deletions(-) create mode 100644 hypr/mocha.conf diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index 41b7ad8..be00954 100644 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -1,52 +1,89 @@ -# _ _ _ -# | |__ _ _ _ __ _ __| | ___ ___| | __ -# | '_ \| | | | '_ \| '__| |/ _ \ / __| |/ / -# | | | | |_| | |_) | | | | (_) | (__| < -# |_| |_|\__, | .__/|_| |_|\___/ \___|_|\_\ -# |___/|_| -# +source = $HOME/.config/hypr/mocha.conf +$accent = $mauve +$accentAlpha = $mauveAlpha +$font = JetBrainsMono Nerd Font + +# GENERAL +general { + disable_loading_bar = true + hide_cursor = true +} + +# BACKGROUND background { - monitor = - #path = $HOME/dotfiles/.settings/lockscreen.png # only png supported for now - color = rgba(25, 20, 20, 1.0) - - # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations - blur_passes = 4 # 0 disables blurring - blur_size = 2 - noise = 0.0117 - contrast = 0.8916 - brightness = 0.8172 - vibrancy = 0.1696 - vibrancy_darkness = 0.0 -} - -input-field { - monitor = - size = 200, 50 - outline_thickness = 1 - dots_size = 0.2 # 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 = rgb(000000) - inner_color = rgb(200, 200, 200) - font_color = rgb(10, 10, 10) - fade_on_empty = true - placeholder_text = Input Password... # Text rendered in the input box when it's empty. - hide_input = false - position = 0, -20 - halign = center - valign = center + monitor = + path = $HOME/.config/background + blur_passes = 0 + color = $base } +# LAYOUT label { - monitor = - text = Enter your password to unlock - color = rgba(200, 200, 200, 1.0) - font_size = 25 - font_family = Noto Sans - - position = 0, 200 - halign = center - valign = center + monitor = + text = Layout: $LAYOUT + color = $text + font_size = 25 + font_family = $font + position = 30, -30 + halign = left + valign = top +} + +# TIME +label { + monitor = + text = $TIME + color = $text + font_size = 90 + font_family = $font + position = -30, 0 + halign = right + valign = top +} + +# DATE +label { + monitor = + text = cmd[update:43200000] date +"%A, %d %B %Y" + color = $text + font_size = 25 + font_family = $font + position = -30, -150 + halign = right + valign = top +} + +# USER AVATAR +image { + monitor = + path = $HOME/.face + size = 100 + border_color = $accent + position = 0, 75 + halign = center + valign = center +} + +# INPUT FIELD +input-field { + monitor = + size = 300, 60 + outline_thickness = 4 + dots_size = 0.2 + dots_spacing = 0.2 + dots_center = true + outer_color = $accent + inner_color = $surface0 + font_color = $text + fade_on_empty = false + placeholder_text = 󰌾 Logged in as $USER + hide_input = false + check_color = $accent + fail_color = $red + fail_text = $FAIL ($ATTEMPTS) + capslock_color = $yellow + position = 0, -47 + halign = center + valign = center } diff --git a/hypr/mocha.conf b/hypr/mocha.conf new file mode 100644 index 0000000..8ccb56a --- /dev/null +++ b/hypr/mocha.conf @@ -0,0 +1,78 @@ + +$rosewater = rgb(f5e0dc) +$rosewaterAlpha = f5e0dc + +$flamingo = rgb(f2cdcd) +$flamingoAlpha = f2cdcd + +$pink = rgb(f5c2e7) +$pinkAlpha = f5c2e7 + +$mauve = rgb(cba6f7) +$mauveAlpha = cba6f7 + +$red = rgb(f38ba8) +$redAlpha = f38ba8 + +$maroon = rgb(eba0ac) +$maroonAlpha = eba0ac + +$peach = rgb(fab387) +$peachAlpha = fab387 + +$yellow = rgb(f9e2af) +$yellowAlpha = f9e2af + +$green = rgb(a6e3a1) +$greenAlpha = a6e3a1 + +$teal = rgb(94e2d5) +$tealAlpha = 94e2d5 + +$sky = rgb(89dceb) +$skyAlpha = 89dceb + +$sapphire = rgb(74c7ec) +$sapphireAlpha = 74c7ec + +$blue = rgb(89b4fa) +$blueAlpha = 89b4fa + +$lavender = rgb(b4befe) +$lavenderAlpha = b4befe + +$text = rgb(cdd6f4) +$textAlpha = cdd6f4 + +$subtext1 = rgb(bac2de) +$subtext1Alpha = bac2de + +$subtext0 = rgb(a6adc8) +$subtext0Alpha = a6adc8 + +$overlay2 = rgb(9399b2) +$overlay2Alpha = 9399b2 + +$overlay1 = rgb(7f849c) +$overlay1Alpha = 7f849c + +$overlay0 = rgb(6c7086) +$overlay0Alpha = 6c7086 + +$surface2 = rgb(585b70) +$surface2Alpha = 585b70 + +$surface1 = rgb(45475a) +$surface1Alpha = 45475a + +$surface0 = rgb(313244) +$surface0Alpha = 313244 + +$base = rgb(1e1e2e) +$baseAlpha = 1e1e2e + +$mantle = rgb(181825) +$mantleAlpha = 181825 + +$crust = rgb(11111b) +$crustAlpha = 11111b