forced chatgpt to fix the config

main
The_miro 2025-04-24 15:22:01 +02:00
parent 05ffecc81b
commit e99a2171fc
2 changed files with 189 additions and 63 deletions

View File

@ -1,16 +1,10 @@
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # # Hyprlock Themed Config 💫 Matching EWW
# Hyprlock
# Original config submitted by https://github.com/SherLock707
# Sourcing colors generated by wallust
source = $HOME/.config/hypr/wallust/wallust-hyprland.conf
$Scripts = $HOME/.config/hypr/scripts
general { general {
grace = 2 grace = 2
hide_cursor = true hide_cursor = true
ignore_empty_input = true ignore_empty_input = true
} }
auth { auth {
@ -19,124 +13,114 @@ auth {
background { background {
monitor = monitor =
#path = screenshot # screenshot of your desktop path = ~/Pictures/background.jpg
path = ~/Pictures/background.jpg # NOTE only png supported for now blur_size = 6
#color = $color7 blur_passes = 2
noise = 0.015
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations contrast = 1.25
blur_size = 5 brightness = 0.85
blur_passes = 1 # 0 disables blurring vibrancy = 0.2
noise = 0.0117 vibrancy_darkness = 0.1
contrast = 1.3000 # Vibrant!!!
brightness = 0.8000
vibrancy = 0.2100
vibrancy_darkness = 0.0
} }
input-field { input-field {
monitor = monitor =
size = 250, 50 size = 300, 60
outline_thickness = 8 outline_thickness = 4
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 dots_size = 0.5
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 dots_spacing = 0.2
dots_center = true dots_center = true
#fade_on_empty = true
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
hide_input = false hide_input = false
placeholder_text = <i>Password...</i>
position = 0, 200
position = 0, 220
halign = center halign = center
valign = bottom valign = bottom
# Accent border & color matching EWW
inner_color = rgb(1a1a1a)
outline_color = rgb(E40046)
font_color = rgb(b0b4bc)
font_family = Agave Nerd Font Mono
font_size = 18
} }
# Date # DATE
label { label {
monitor =
text = cmd[update:18000000] echo "<b> "$(date +'%A, %-d %B %Y')" </b>" text = cmd[update:18000000] echo "<b> "$(date +'%A, %-d %B %Y')" </b>"
color = $color12 color = rgb(5018dd)
font_size = 34 font_size = 34
font_family = Agave NerdFont 10 font_family = Agave Nerd Font Mono
position = 0, -150 position = 0, -150
halign = center halign = center
valign = top valign = top
} }
# Week # WEEK
label { label {
monitor =
text = cmd[update:18000000] echo "<b> "$(date +'Week %U')" </b>" text = cmd[update:18000000] echo "<b> "$(date +'Week %U')" </b>"
color = $color5 color = rgb(E40046)
font_size = 24 font_size = 24
font_family = Agave NerdFont 10 font_family = Agave Nerd Font Mono
position = 0, -250 position = 0, -250
halign = center halign = center
valign = top valign = top
} }
# Time # TIME
label { label {
monitor = text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>"
#text = cmd[update:1000] echo "<b><big> $(date +"%I:%M:%S %p") </big></b>" # AM/PM color = rgb(b0b4bc)
text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>" # 24H
color = $color15
font_size = 94 font_size = 94
font_family = Agave NerdFont 10 font_family = Agave Nerd Font Mono
position = 0, 0 position = 0, 0
halign = center halign = center
valign = center valign = center
} }
# User # USER
label { label {
monitor =
text =  $USER text =  $USER
color = $color12 color = rgb(5018dd)
font_size = 18 font_size = 18
font_family = Agave NerdFont 10 font_family = Agave Nerd Font Mono
position = 0, 100 position = 0, 100
halign = center halign = center
valign = bottom valign = bottom
} }
# uptime # UPTIME
label { label {
monitor =
text = cmd[update:60000] echo "<b> "$(uptime -p || $Scripts/UptimeNixOS.sh)" </b>" text = cmd[update:60000] echo "<b> "$(uptime -p || $Scripts/UptimeNixOS.sh)" </b>"
color = $color12 color = rgb(b0b4bc)
font_size = 24 font_size = 24
font_family = Agave NerdFont 10 font_family = Agave Nerd Font Mono
position = 0, 0 position = 0, 0
halign = right halign = right
valign = bottom valign = bottom
} }
# weather edit specific location. Note, this cause a 2-4 seconds delay in locking # BATTERY
label { label {
monitor =
text = cmd[update:10000] sh ~/Dotfiles/desktopenvs/hyprland/eww/scripts/batteryperc text = cmd[update:10000] sh ~/Dotfiles/desktopenvs/hyprland/eww/scripts/batteryperc
color = $color12 color = rgb(E40046)
font_size = 24 font_size = 24
font_family = Agave NerdFont 10 font_family = Agave Nerd Font Mono
position = 50, 0 position = 50, 0
halign = left halign = left
valign = bottom valign = bottom
} }
# Put a picture of choice here. Default is the current wallpaper # PROFILE PICTURE OR LOGO
image { image {
monitor =
path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current
size = 230 size = 230
rounding = -1 rounding = 50
border_size = 2 border_size = 4
border_color = $color11 border_color = rgb(5018dd)
rotate = 0 rotate = 0
reload_time = -1
position = 0, 300 position = 0, 300
halign = center halign = center
valign = bottom valign = bottom
} }

View File

@ -0,0 +1,142 @@
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Hyprlock
# Original config submitted by https://github.com/SherLock707
# Sourcing colors generated by wallust
source = $HOME/.config/hypr/wallust/wallust-hyprland.conf
$Scripts = $HOME/.config/hypr/scripts
general {
grace = 2
hide_cursor = true
ignore_empty_input = true
}
auth {
pam:module = sudo
}
background {
monitor =
#path = screenshot # screenshot of your desktop
path = ~/Pictures/background.jpg # NOTE 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 = 5
blur_passes = 1 # 0 disables blurring
noise = 0.0117
contrast = 1.3000 # Vibrant!!!
brightness = 0.8000
vibrancy = 0.2100
vibrancy_darkness = 0.0
}
input-field {
monitor =
size = 250, 50
outline_thickness = 8
dots_size = 0.33 # 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
#fade_on_empty = true
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
hide_input = false
position = 0, 200
halign = center
valign = bottom
}
# Date
label {
monitor =
text = cmd[update:18000000] echo "<b> "$(date +'%A, %-d %B %Y')" </b>"
color = $color12
font_size = 34
font_family = Agave NerdFont 10
position = 0, -150
halign = center
valign = top
}
# Week
label {
monitor =
text = cmd[update:18000000] echo "<b> "$(date +'Week %U')" </b>"
color = $color5
font_size = 24
font_family = Agave NerdFont 10
position = 0, -250
halign = center
valign = top
}
# Time
label {
monitor =
#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
color = $color15
font_size = 94
font_family = Agave NerdFont 10
position = 0, 0
halign = center
valign = center
}
# User
label {
monitor =
text =  $USER
color = $color12
font_size = 18
font_family = Agave NerdFont 10
position = 0, 100
halign = center
valign = bottom
}
# uptime
label {
monitor =
text = cmd[update:60000] echo "<b> "$(uptime -p || $Scripts/UptimeNixOS.sh)" </b>"
color = $color12
font_size = 24
font_family = Agave NerdFont 10
position = 0, 0
halign = right
valign = bottom
}
# weather edit specific location. Note, this cause a 2-4 seconds delay in locking
label {
monitor =
text = cmd[update:10000] sh ~/Dotfiles/desktopenvs/hyprland/eww/scripts/batteryperc
color = $color12
font_size = 24
font_family = Agave NerdFont 10
position = 50, 0
halign = left
valign = bottom
}
# Put a picture of choice here. Default is the current wallpaper
image {
monitor =
path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current
size = 230
rounding = -1
border_size = 2
border_color = $color11
rotate = 0
reload_time = -1
position = 0, 300
halign = center
valign = bottom
}