mirror of
https://github.com/xsghetti/HyprCrux.git
synced 2025-07-01 13:00:38 -04:00
hyprlock update
This commit is contained in:
parent
b7c5e2c329
commit
efdee1d452
1 changed files with 84 additions and 64 deletions
|
@ -1,83 +1,103 @@
|
|||
source = $HOME/.cache/wal/colors-hyprland.conf
|
||||
source = ~/.cache/wal/colors-hyprland.conf
|
||||
|
||||
# BACKGROUND
|
||||
background {
|
||||
monitor =
|
||||
path = $HOME/.config/rofi/.current_wallpaper # only png supported for now
|
||||
color = $color7
|
||||
|
||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||
blur_size = 4
|
||||
blur_passes = 3 # 0 disables blurring
|
||||
noise = 0.0117
|
||||
contrast = 1.3000 # Vibrant!!!
|
||||
brightness = 0.8000
|
||||
vibrancy = 0.2100
|
||||
path = $HOME/.config/rofi/.current_wallpaper
|
||||
blur_passes = 2
|
||||
contrast = 0.8916
|
||||
brightness = 0.8172
|
||||
vibrancy = 0.1696
|
||||
vibrancy_darkness = 0.0
|
||||
}
|
||||
|
||||
input-field {
|
||||
monitor = eDP-1
|
||||
size = 250, 50
|
||||
outline_thickness = 3
|
||||
# GENERAL
|
||||
general {
|
||||
no_fade_in = false
|
||||
grace = 0
|
||||
disable_loading_bar = false
|
||||
}
|
||||
|
||||
# Time-Hour
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<span>$(date +"%H")</span>"
|
||||
color = $color7
|
||||
font_size = 125
|
||||
font_family = StretchPro
|
||||
position = -80, 190
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# Time-Minute
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<span>$(date +"%M")</span>"
|
||||
color = $color6
|
||||
font_size = 125
|
||||
font_family = StretchPro
|
||||
position = 0, 70
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# Day-Month-Date
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo -e "$(date +"%A, %B %d")"
|
||||
color = $color7
|
||||
font_size = 22
|
||||
font_family = Suisse Int'l Mono
|
||||
position = 20, -8
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# USER
|
||||
label {
|
||||
monitor =
|
||||
text = $USER
|
||||
color = $color7
|
||||
outline_thickness = 2
|
||||
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.64 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true
|
||||
outer_color = $color1
|
||||
inner_color = $color0
|
||||
font_size = 22
|
||||
font_family = SF Pro Display Bold
|
||||
position = 0, -220
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# INPUT FIELD
|
||||
input-field {
|
||||
monitor =
|
||||
size = 300, 60
|
||||
outline_thickness = 2
|
||||
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true
|
||||
outer_color = $background
|
||||
inner_color = $color6
|
||||
font_color = $color7
|
||||
fade_on_empty = true
|
||||
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
|
||||
fade_on_empty = false
|
||||
font_family = SF Pro Display Bold
|
||||
placeholder_text = <i><span foreground="##ffffff99">🔒 Enter Pass</span></i>
|
||||
hide_input = false
|
||||
position = 0, 50
|
||||
halign = center
|
||||
valign = bottom
|
||||
}
|
||||
|
||||
# Current time
|
||||
label {
|
||||
monitor = eDP-1
|
||||
text = cmd[update:1300] echo "<b><big> $(date +"%H:%M:%S") </big></b>"
|
||||
color = $color7
|
||||
font_size = 64
|
||||
font_family = JetBrains Mono Nerd Font 10
|
||||
position = 0, 50
|
||||
position = 0, -290
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# User label
|
||||
# CURRENT SONG
|
||||
label {
|
||||
monitor = eDP-1
|
||||
text = Hey <span text_transform="capitalize" size="larger">$USER</span>
|
||||
color = $color7
|
||||
font_size = 20
|
||||
font_family = JetBrains Mono Nerd Font 10
|
||||
position = 0, 0
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
|
||||
# Type to unlock
|
||||
label {
|
||||
monitor = eDP-1
|
||||
text = Type to unlock!
|
||||
color = $color7
|
||||
font_size = 16
|
||||
font_family = JetBrains Mono Nerd Font 10
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$(~/.config/hypr/Scripts/songdetail.sh)"
|
||||
color = rgba(147, 196, 255, 1)
|
||||
font_size = 18
|
||||
font_family = JetBrains Mono Nerd, SF Pro Display Bold
|
||||
position = 0, 20
|
||||
halign = center
|
||||
valign = bottom
|
||||
}
|
||||
|
||||
}
|
||||
label {
|
||||
monitor = DP-2
|
||||
text = cmd[update:1000] ~/.config/hypr/scripts/time_in_binary.py 1
|
||||
color = rgba(238, 206, 207,0.8)
|
||||
font_size = 25
|
||||
font_family = Noto Sans
|
||||
position = 110, 70
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue