mirror of https://github.com/Flinner/dots.git
112 lines
2.6 KiB
Plaintext
112 lines
2.6 KiB
Plaintext
# # MIT License
|
|
# # https://github.com/catppuccin/hyprlock
|
|
# Copyright (c) 2021 Catppuccin
|
|
#
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
# in the Software without restriction, including without limitation the rights
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
# furnished to do so, subject to the following conditions:
|
|
#
|
|
# The above copyright notice and this permission notice shall be included in all
|
|
# copies or substantial portions of the Software.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
# SOFTWARE.
|
|
|
|
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/.config/background
|
|
blur_passes = 0
|
|
color = $base
|
|
}
|
|
|
|
# LAYOUT
|
|
label {
|
|
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 = <span foreground="##$textAlpha"><i> Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
|
|
hide_input = false
|
|
check_color = $accent
|
|
fail_color = $red
|
|
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
|
|
capslock_color = $yellow
|
|
position = 0, -47
|
|
halign = center
|
|
valign = center
|
|
}
|