Browse Source

hyprlock update to work well with 1080p resolution

pull/225/head
JaKooLit 2 years ago
parent
commit
672a5975ac
  1. 35
      config/hypr/hyprlock.conf

35
config/hypr/hyprlock.conf

@ -4,26 +4,19 @@
source = $HOME/.cache/wal/colors-hyprland source = $HOME/.cache/wal/colors-hyprland
# wallpaper and picture variables # supports png, jpg, webp (no animations, though)
$wallpaper = $HOME/.config/rofi/.current_wallpaper
# you can put your profile picture path here if wanted
# by default is your current wallpaper. See note above regarding format support
$picture = $HOME/.config/rofi/.current_wallpaper
general { general {
grace = 0 grace = 1
} }
background { background {
monitor = monitor =
path = screenshot # screenshot of your desktop path = screenshot # screenshot of your desktop
#path = $wallpaper # set the picture path above # path = $HOME/.config/rofi/.current_wallpaper # NOTE only png supported for now
color = $color7 color = $color7
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
blur_size = 4 blur_size = 4
blur_passes = 3 # 0 disables blurring blur_passes = 2 # 0 disables blurring
noise = 0.0117 noise = 0.0117
contrast = 1.3000 # Vibrant!!! contrast = 1.3000 # Vibrant!!!
brightness = 0.8000 brightness = 0.8000
@ -45,7 +38,7 @@ input-field {
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty. placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
hide_input = false hide_input = false
position = 0, 100 position = 0, 200
halign = center halign = center
valign = bottom valign = bottom
} }
@ -71,7 +64,7 @@ label {
font_size = 24 font_size = 24
font_family = JetBrains Mono Nerd Font 10 font_family = JetBrains Mono Nerd Font 10
position = 0, -225 position = 0, -250
halign = center halign = center
valign = top valign = top
} }
@ -82,10 +75,10 @@ label {
# text = cmd[update:1000] echo "<b><big> $(date +"%I:%M:%S %p") </big></b>" # AM/PM # text = cmd[update:1000] echo "<b><big> $(date +"%I:%M:%S %p") </big></b>" # AM/PM
text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>" # 24H text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>" # 24H
color = $color7 color = $color7
font_size = 90 font_size = 94
font_family = JetBrains Mono Nerd Font 10 font_family = JetBrains Mono Nerd Font 10
position = 0, -150 position = 0, 0
halign = center halign = center
valign = center valign = center
} }
@ -94,10 +87,10 @@ label {
monitor = monitor =
text = $USER text = $USER
color = $color7 color = $color7
font_size = 24 font_size = 18
font_family = Inter Display Medium font_family = Inter Display Medium
position = 0, 200 position = 0, 100
halign = center halign = center
valign = bottom valign = bottom
} }
@ -126,14 +119,14 @@ label {
image { image {
monitor = monitor =
path = $picture # set the picture path above path = $HOME/.config/rofi/.current_wallpaper
size = 230 size = 230
rounding = -1 # negative values mean circle rounding = -1
border_size = 1 border_size = 4
border_color = $color12 border_color = $color12
rotate = 0 rotate = 0
reload_time = -1 reload_time = -1
position = 0, 200 position = 0, 300
halign = center halign = center
valign = center valign = bottom
} }
Loading…
Cancel
Save