mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: move to home.file.<name>.txt so that it's uniform (and because of errors 😭)
This commit is contained in:
parent
0768608559
commit
bf957cf636
1 changed files with 89 additions and 90 deletions
|
|
@ -1,100 +1,99 @@
|
||||||
{ pkgs, ... }:
|
{ username, pkgs, ... }:
|
||||||
let
|
|
||||||
text = "rgb(251, 241, 199)";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
home.packages = [ pkgs.hyprlock ];
|
home = {
|
||||||
xdg.configFile."hypr/hyprlock.conf".text = ''
|
packages = [ pkgs.hyprlock ];
|
||||||
# BACKGROUND
|
file."/home/${username}/.config/hypr/hyprlock.conf".text = ''
|
||||||
background {
|
# BACKGROUND
|
||||||
monitor =
|
background {
|
||||||
path = ${/home/liv/Pictures/wallpapers/others/liv-schiermonnikoog-zonsondergang.jpeg}
|
monitor =
|
||||||
blur_passes = 1
|
path = ${/home/liv/Pictures/wallpapers/others/liv-schiermonnikoog-zonsondergang.jpeg}
|
||||||
contrast = 0.8916
|
blur_passes = 1
|
||||||
brightness = 0.8172
|
contrast = 0.8916
|
||||||
vibrancy = 0.1696
|
brightness = 0.8172
|
||||||
vibrancy_darkness = 0.0
|
vibrancy = 0.1696
|
||||||
}
|
vibrancy_darkness = 0.0
|
||||||
|
}
|
||||||
|
|
||||||
# GENERAL
|
# GENERAL
|
||||||
general {
|
general {
|
||||||
hide_cursor = true
|
hide_cursor = true
|
||||||
no_fade_in = false
|
no_fade_in = false
|
||||||
grace = 0
|
grace = 0
|
||||||
disable_loading_bar = false
|
disable_loading_bar = false
|
||||||
}
|
}
|
||||||
|
|
||||||
# Time
|
# Time
|
||||||
label {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = cmd[update:1000] echo "$(date +"%k:%M")"
|
text = cmd[update:1000] echo "$(date +"%k:%M")"
|
||||||
color = rgba(235, 219, 178, .9)
|
color = rgba(235, 219, 178, .9)
|
||||||
font_size = 111
|
font_size = 111
|
||||||
font_family = JetBrainsMono NF Bold
|
font_family = JetBrainsMono NF Bold
|
||||||
position = 0, 270
|
position = 0, 270
|
||||||
halign = center
|
halign = center
|
||||||
valign = center
|
valign = center
|
||||||
}
|
}
|
||||||
|
|
||||||
# Day
|
# Day
|
||||||
label {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = cmd[update:1000] echo "- $(date +"%A, %B %d") -"
|
text = cmd[update:1000] echo "- $(date +"%A, %B %d") -"
|
||||||
color = rgba(235, 219, 178, .9)
|
color = rgba(235, 219, 178, .9)
|
||||||
font_size = 20
|
font_size = 20
|
||||||
font_family = CaskaydiaCove Nerd Font
|
font_family = CaskaydiaCove Nerd Font
|
||||||
position = 0, 160
|
position = 0, 160
|
||||||
halign = center
|
halign = center
|
||||||
valign = center
|
valign = center
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# USER-BOX
|
# USER-BOX
|
||||||
shape {
|
shape {
|
||||||
monitor =
|
monitor =
|
||||||
size = 350, 50
|
size = 350, 50
|
||||||
color = rgba(225, 225, 225, .2)
|
color = rgba(225, 225, 225, .2)
|
||||||
rounding = 15
|
rounding = 15
|
||||||
border_size = 0
|
border_size = 0
|
||||||
border_color = rgba(255, 255, 255, 0)
|
border_color = rgba(255, 255, 255, 0)
|
||||||
rotate = 0
|
rotate = 0
|
||||||
|
|
||||||
position = 0, -230
|
position = 0, -230
|
||||||
halign = center
|
halign = center
|
||||||
valign = center
|
valign = center
|
||||||
}
|
}
|
||||||
|
|
||||||
# USER
|
# USER
|
||||||
label {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = $USER
|
text = $USER
|
||||||
color = rgba(235, 219, 178, .9)
|
color = rgba(235, 219, 178, .9)
|
||||||
font_size = 16
|
font_size = 16
|
||||||
font_family = CaskaydiaCove Nerd Font
|
font_family = CaskaydiaCove Nerd Font
|
||||||
position = 0, -230
|
position = 0, -230
|
||||||
halign = center
|
halign = center
|
||||||
valign = center
|
valign = center
|
||||||
}
|
}
|
||||||
|
|
||||||
# INPUT FIELD
|
# INPUT FIELD
|
||||||
input-field {
|
input-field {
|
||||||
monitor =
|
monitor =
|
||||||
size = 350, 50
|
size = 350, 50
|
||||||
outline_thickness = 0
|
outline_thickness = 0
|
||||||
rounding = 15
|
rounding = 15
|
||||||
dots_size = 0.25 # Scale of input-field height, 0.2 - 0.8
|
dots_size = 0.25 # Scale of input-field height, 0.2 - 0.8
|
||||||
dots_spacing = 0.4 # Scale of dots' absolute size, 0.0 - 1.0
|
dots_spacing = 0.4 # Scale of dots' absolute size, 0.0 - 1.0
|
||||||
dots_center = true
|
dots_center = true
|
||||||
outer_color = rgba(255, 255, 255, 0)
|
outer_color = rgba(255, 255, 255, 0)
|
||||||
inner_color = rgba(225, 225, 225, 0.2)
|
inner_color = rgba(225, 225, 225, 0.2)
|
||||||
color = rgba(235, 219, 178, .9)
|
color = rgba(235, 219, 178, .9)
|
||||||
font_color = rgba(235, 219, 178, .9)
|
font_color = rgba(235, 219, 178, .9)
|
||||||
fade_on_empty = false
|
fade_on_empty = false
|
||||||
placeholder_text = <i><span foreground="##ebdbb2e5">Enter Password</span></i>
|
placeholder_text = <i><span foreground="##ebdbb2e5">Enter Password</span></i>
|
||||||
hide_input = false
|
hide_input = false
|
||||||
position = 0, -300
|
position = 0, -300
|
||||||
halign = center
|
halign = center
|
||||||
valign = center
|
valign = center
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue