some plays, some updates

This commit is contained in:
2026-01-11 06:05:48 +03:00
parent b7f0075276
commit 2eb01e9603
19 changed files with 262 additions and 622 deletions
+43 -21
View File
@@ -1,6 +1,7 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [ playerctl ];
programs.hyprlock = {
enable = true;
extraConfig = ''
@@ -29,8 +30,8 @@
color = rgba(181818FF)
path = ${config.home.homeDirectory}/Pictures/wallpaper.png
blur_size = 4
blur_passes = 3
blur_size = 0 # 4 by default
blur_passes = 0 # 3 by default
noise = 0.0117
contrast = 1.3000
brightness = 0.8000
@@ -80,7 +81,29 @@
valign = center
}
# FP
#Now playing
label {
monitor =
text = cmd[update:5000] ${config.home.homeDirectory}/.config/hypr/scripts/hyprlock/music.sh
color = $text_color
font_size = 18
font_family = $font_family
shadow_passes = 3
shadow_size = 4
# position = 30, 30
# halign = left
# valign = bottom
# position = 0, -80
# halign = center
# valign = center
position = -30, -30
halign = right
valign = top
}
# Fingerprint prompt
label {
monitor =
text = cmd[update:1000] echo $FPRINTPROMPT
@@ -142,23 +165,6 @@
valign = center
}
# Degrees
label {
monitor =
text = cmd[update:18000000] echo "<b>Feels like<big> $(curl -s \'wttr.in?format=%t\' | tr -d \'+\') </big></b>"
color = $text_color
font_size = 18
font_family = $font_family
shadow_passes = 3
shadow_size = 4
position = 0, 30
halign = center
valign = bottom
}
label { # User
monitor =
text = $USER
@@ -177,7 +183,7 @@
label { # Status bat
monitor =
text = cmd[update:5000] ${config.home.homeDirectory}/.config/hypr/scripts/hyprlock-status.sh
text = cmd[update:5000] ${config.home.homeDirectory}/.config/hypr/scripts/hyprlock/bat_status.sh
color = $text_color
shadow_passes = 3
@@ -190,6 +196,22 @@
halign = left
valign = top
}
# Degrees
label {
monitor =
text = cmd[update:120000] ${config.home.homeDirectory}/.config/hypr/scripts/hyprlock/weather.sh
color = $text_color
font_size = 18
font_family = $font_family
shadow_passes = 3
shadow_size = 4
position = 0, 30
halign = center
valign = bottom
}
'';
};
}